Changeset 203099 in webkit


Ignore:
Timestamp:
Jul 11, 2016, 4:53:42 PM (9 years ago)
Author:
weinig@apple.com
Message:

Speech Synthesis: getting list of voices no longer works
<rdar://problem/22954120>
https://bugs.webkit.org/show_bug.cgi?id=159656

Reviewed by Tim Horton.

  • platform/PlatformSpeechSynthesizer.h:
  • platform/mac/PlatformSpeechSynthesizerMac.mm:

Default initialize m_voiceListIsInitialized to false so it is
initialized on both Mac and iOS. Remove the explicit initialization
from the Mac.

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r203098 r203099  
     12016-07-11  Sam Weinig  <sam@webkit.org>
     2
     3        Speech Synthesis: getting list of voices no longer works
     4        <rdar://problem/22954120>
     5        https://bugs.webkit.org/show_bug.cgi?id=159656
     6
     7        Reviewed by Tim Horton.
     8
     9        * platform/PlatformSpeechSynthesizer.h:
     10        * platform/mac/PlatformSpeechSynthesizerMac.mm:
     11        Default initialize m_voiceListIsInitialized to false so it is
     12        initialized on both Mac and iOS. Remove the explicit initialization
     13        from the Mac.
     14
    1152016-07-11  Simon Fraser  <simon.fraser@apple.com>
    216
  • trunk/Source/WebCore/platform/PlatformSpeechSynthesizer.h

    r179861 r203099  
    8787    virtual void initializeVoiceList();
    8888
    89     bool m_voiceListIsInitialized;
     89    bool m_voiceListIsInitialized { false };
    9090    PlatformSpeechSynthesizerClient* m_speechSynthesizerClient;
    9191   
  • trunk/Source/WebCore/platform/mac/PlatformSpeechSynthesizerMac.mm

    r195743 r203099  
    207207
    208208PlatformSpeechSynthesizer::PlatformSpeechSynthesizer(PlatformSpeechSynthesizerClient* client)
    209     : m_voiceListIsInitialized(false)
    210     , m_speechSynthesizerClient(client)
     209    : m_speechSynthesizerClient(client)
    211210{
    212211}
Note: See TracChangeset for help on using the changeset viewer.