Changeset 151680 in webkit
- Timestamp:
- Jun 18, 2013 4:23:37 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r151677 r151680 1 2013-06-18 Praveen R Jadhav <praveen.j@samsung.com> 2 3 [WebSpeech] Speech Recognition requires convertValue support in JSDictionary 4 https://bugs.webkit.org/show_bug.cgi?id=117731 5 6 Reviewed by Christophe Dumez. 7 8 Build fails after enabling ENABLE_SCRIPTED_SPEECH feature. This patch 9 resolves the issue. 10 11 No new tests. No change in behaviour. 12 13 * bindings/js/JSDictionary.cpp: 14 (WebCore::JSDictionary::convertValue): 15 * bindings/js/JSDictionary.h: 16 1 17 2013-06-18 Mary Wu <mary.wu@torchmobile.com.cn> 2 18 -
trunk/Source/WebCore/bindings/js/JSDictionary.cpp
r148696 r151680 53 53 #endif 54 54 55 #if ENABLE(SCRIPTED_SPEECH) 56 #include "JSSpeechRecognitionResultList.h" 57 #endif 58 55 59 using namespace JSC; 56 60 … … 250 254 #endif 251 255 256 #if ENABLE(SCRIPTED_SPEECH) 257 void JSDictionary::convertValue(JSC::ExecState*, JSC::JSValue value, RefPtr<SpeechRecognitionResultList>& result) 258 { 259 result = toSpeechRecognitionResultList(value); 260 } 261 #endif 262 252 263 bool JSDictionary::getWithUndefinedOrNullCheck(const String& propertyName, String& result) const 253 264 { -
trunk/Source/WebCore/bindings/js/JSDictionary.h
r148696 r151680 50 50 class TrackBase; 51 51 class VoidCallback; 52 53 #if ENABLE(SCRIPTED_SPEECH) 54 class SpeechRecognitionResultList; 55 #endif 52 56 53 57 class JSDictionary { … … 128 132 static void convertValue(JSC::ExecState*, JSC::JSValue, RefPtr<VoidCallback>& result); 129 133 #endif 134 #if ENABLE(SCRIPTED_SPEECH) 135 static void convertValue(JSC::ExecState*, JSC::JSValue, RefPtr<SpeechRecognitionResultList>&); 136 #endif 130 137 131 138 JSC::ExecState* m_exec;
Note: See TracChangeset
for help on using the changeset viewer.