Title: [268780] trunk/Source
- Revision
- 268780
- Author
- sihui_...@apple.com
- Date
- 2020-10-20 18:40:13 -0700 (Tue, 20 Oct 2020)
Log Message
Add stubs for SpeechRecognition
https://bugs.webkit.org/show_bug.cgi?id=217780
<rdar://problem/70350727>
Source/WebCore:
Unreviewed build fix after r268762.
* Modules/speech/SpeechRecognitionResultList.h:
Source/WTF:
Unreviewed build fix after r268762, which sets ENABLE_SPEECH_SYNTHESIS by mistake.
* wtf/PlatformEnable.h:
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (268779 => 268780)
--- trunk/Source/WTF/ChangeLog 2020-10-21 01:24:32 UTC (rev 268779)
+++ trunk/Source/WTF/ChangeLog 2020-10-21 01:40:13 UTC (rev 268780)
@@ -4,6 +4,16 @@
https://bugs.webkit.org/show_bug.cgi?id=217780
<rdar://problem/70350727>
+ Unreviewed build fix after r268762, which sets ENABLE_SPEECH_SYNTHESIS by mistake.
+
+ * wtf/PlatformEnable.h:
+
+2020-10-20 Sihui Liu <sihui_...@apple.com>
+
+ Add stubs for SpeechRecognition
+ https://bugs.webkit.org/show_bug.cgi?id=217780
+ <rdar://problem/70350727>
+
Reviewed by Youenn Fablet.
* Scripts/Preferences/WebPreferencesExperimental.yaml:
Modified: trunk/Source/WTF/wtf/PlatformEnable.h (268779 => 268780)
--- trunk/Source/WTF/wtf/PlatformEnable.h 2020-10-21 01:24:32 UTC (rev 268779)
+++ trunk/Source/WTF/wtf/PlatformEnable.h 2020-10-21 01:40:13 UTC (rev 268780)
@@ -446,10 +446,6 @@
#endif
#if !defined(ENABLE_SPEECH_SYNTHESIS)
-#define ENABLE_SPEECH_SYNTHESIS 1
-#endif
-
-#if !defined(ENABLE_SPEECH_SYNTHESIS)
#define ENABLE_SPEECH_SYNTHESIS 0
#endif
Modified: trunk/Source/WebCore/ChangeLog (268779 => 268780)
--- trunk/Source/WebCore/ChangeLog 2020-10-21 01:24:32 UTC (rev 268779)
+++ trunk/Source/WebCore/ChangeLog 2020-10-21 01:40:13 UTC (rev 268780)
@@ -1,3 +1,13 @@
+2020-10-20 Sihui Liu <sihui_...@apple.com>
+
+ Add stubs for SpeechRecognition
+ https://bugs.webkit.org/show_bug.cgi?id=217780
+ <rdar://problem/70350727>
+
+ Unreviewed build fix after r268762.
+
+ * Modules/speech/SpeechRecognitionResultList.h:
+
2020-10-20 Chris Dumez <cdu...@apple.com>
Merge WorkerScriptController and WorkletScriptController into WorkerOrWorkletScriptController
Modified: trunk/Source/WebCore/Modules/speech/SpeechRecognitionResultList.h (268779 => 268780)
--- trunk/Source/WebCore/Modules/speech/SpeechRecognitionResultList.h 2020-10-21 01:24:32 UTC (rev 268779)
+++ trunk/Source/WebCore/Modules/speech/SpeechRecognitionResultList.h 2020-10-21 01:40:13 UTC (rev 268780)
@@ -38,7 +38,7 @@
static Ref<SpeechRecognitionResultList> create();
static Ref<SpeechRecognitionResultList> create(Vector<Ref<SpeechRecognitionResult>>&&);
- bool length() const { return m_list.size(); }
+ unsigned long length() const { return m_list.size(); }
SpeechRecognitionResult* item(uint64_t index) const;
void add(SpeechRecognitionResult&);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes