Changeset 64352 in webkit


Ignore:
Timestamp:
Jul 30, 2010 6:19:26 AM (14 years ago)
Author:
jorlow@chromium.org
Message:

2010-07-30 Satish Sampath <satish@chromium.org>

Reviewed by Jeremy Orlow.

Add a check for WebViewClient being null.
https://bugs.webkit.org/show_bug.cgi?id=43240

  • src/SpeechInputClientImpl.cpp: (WebKit::SpeechInputClientImpl::SpeechInputClientImpl):
Location:
trunk/WebKit/chromium
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/chromium/ChangeLog

    r64350 r64352  
     12010-07-30  Satish Sampath  <satish@chromium.org>
     2
     3        Reviewed by Jeremy Orlow.
     4
     5        Add a check for WebViewClient being null.
     6        https://bugs.webkit.org/show_bug.cgi?id=43240
     7
     8        * src/SpeechInputClientImpl.cpp:
     9        (WebKit::SpeechInputClientImpl::SpeechInputClientImpl):
     10
    1112010-07-30  Hans Wennborg  <hans@chromium.org>
    212
  • trunk/WebKit/chromium/src/SpeechInputClientImpl.cpp

    r64269 r64352  
    4343
    4444SpeechInputClientImpl::SpeechInputClientImpl(WebViewClient* web_view_client)
    45     : m_controller(web_view_client->speechInputController(this))
     45    : m_controller(web_view_client ? web_view_client->speechInputController(this) : 0)
    4646    , m_listener(0)
    4747{
    48     // FIXME: Right now WebViewClient gives a null pointer, and with the
    49     // runtime flag for speech input feature set to true by default this will
    50     // always assert. Enable this assert once the WebViewClient starts to
    51     // give a valid pointer.
    52     // ASSERT(m_controller);
    5348}
    5449
Note: See TracChangeset for help on using the changeset viewer.