Changeset 64446 in webkit


Ignore:
Timestamp:
Aug 1, 2010 2:11:46 PM (14 years ago)
Author:
weinig@apple.com
Message:

Don't send user messages to the injected bundle if the process is not active
https://bugs.webkit.org/show_bug.cgi?id=43317

Reviewed by Anders Carlsson.

  • UIProcess/WebContext.cpp:

(WebKit::WebContext::postMessageToInjectedBundle):

Location:
trunk/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit2/ChangeLog

    r64445 r64446  
     12010-08-01  Sam Weinig  <sam@webkit.org>
     2
     3        Reviewed by Anders Carlsson.
     4
     5        Don't send user messages to the injected bundle if the process is not active
     6        https://bugs.webkit.org/show_bug.cgi?id=43317
     7
     8        * UIProcess/WebContext.cpp:
     9        (WebKit::WebContext::postMessageToInjectedBundle):
     10
    1112010-08-01  Sam Weinig  <sam@webkit.org>
    212
  • trunk/WebKit2/UIProcess/WebContext.cpp

    r64396 r64446  
    291291void WebContext::postMessageToInjectedBundle(const String& messageName, APIObject* messageBody)
    292292{
    293     if (!m_process)
     293    if (!hasValidProcess())
    294294        return;
    295295
Note: See TracChangeset for help on using the changeset viewer.