⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 268780 in webkit


Ignore:
Timestamp:
Oct 20, 2020, 6:40:13 PM (6 years ago)
Author:
sihui_liu@apple.com
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:
Location:
trunk/Source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r268762 r268780  
     12020-10-20  Sihui Liu  <sihui_liu@apple.com>
     2
     3        Add stubs for SpeechRecognition
     4        https://bugs.webkit.org/show_bug.cgi?id=217780
     5        <rdar://problem/70350727>
     6
     7        Unreviewed build fix after r268762, which sets ENABLE_SPEECH_SYNTHESIS by mistake.
     8
     9        * wtf/PlatformEnable.h:
     10
    1112020-10-20  Sihui Liu  <sihui_liu@apple.com>
    212
  • trunk/Source/WTF/wtf/PlatformEnable.h

    r268762 r268780  
    447447
    448448#if !defined(ENABLE_SPEECH_SYNTHESIS)
    449 #define ENABLE_SPEECH_SYNTHESIS 1
    450 #endif
    451 
    452 #if !defined(ENABLE_SPEECH_SYNTHESIS)
    453449#define ENABLE_SPEECH_SYNTHESIS 0
    454450#endif
  • trunk/Source/WebCore/ChangeLog

    r268775 r268780  
     12020-10-20  Sihui Liu  <sihui_liu@apple.com>
     2
     3        Add stubs for SpeechRecognition
     4        https://bugs.webkit.org/show_bug.cgi?id=217780
     5        <rdar://problem/70350727>
     6
     7        Unreviewed build fix after r268762.
     8
     9        * Modules/speech/SpeechRecognitionResultList.h:
     10
    1112020-10-20  Chris Dumez  <cdumez@apple.com>
    212
  • trunk/Source/WebCore/Modules/speech/SpeechRecognitionResultList.h

    r268762 r268780  
    3939    static Ref<SpeechRecognitionResultList> create(Vector<Ref<SpeechRecognitionResult>>&&);
    4040
    41     bool length() const { return m_list.size(); }
     41    unsigned long length() const { return m_list.size(); }
    4242    SpeechRecognitionResult* item(uint64_t index) const;
    4343
Note: See TracChangeset for help on using the changeset viewer.