Changeset 162689 in webkit


Ignore:
Timestamp:
Jan 23, 2014 9:43:09 PM (10 years ago)
Author:
andersca@apple.com
Message:

Fix crash when opening the inspector
https://bugs.webkit.org/show_bug.cgi?id=127542
<rdar://problem/15899544>

Reviewed by Joseph Pecoraro.

Create default clients so we won't crash if they're never set.

  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::WebPageProxy):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r162688 r162689  
     12014-01-23  Anders Carlsson  <andersca@apple.com>
     2
     3        Fix crash when opening the inspector
     4        https://bugs.webkit.org/show_bug.cgi?id=127542
     5        <rdar://problem/15899544>
     6
     7        Reviewed by Joseph Pecoraro.
     8
     9        Create default clients so we won't crash if they're never set.
     10
     11        * UIProcess/WebPageProxy.cpp:
     12        (WebKit::WebPageProxy::WebPageProxy):
     13
    1142014-01-23  Ryuan Choi  <ryuan.choi@samsung.com>
    215
  • trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp

    r162673 r162689  
    242242WebPageProxy::WebPageProxy(PageClient& pageClient, WebProcessProxy& process, WebPageGroup& pageGroup, API::Session& session, uint64_t pageID)
    243243    : m_pageClient(pageClient)
     244    , m_loaderClient(std::make_unique<API::LoaderClient>())
     245    , m_policyClient(std::make_unique<API::PolicyClient>())
    244246    , m_process(process)
    245247    , m_pageGroup(pageGroup)
Note: See TracChangeset for help on using the changeset viewer.