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

Changeset 243343 in webkit


Ignore:
Timestamp:
Mar 21, 2019, 4:16:09 PM (7 years ago)
Author:
Alan Coon
Message:

Apply patch. rdar://problem/49128812

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/Safari-608.1.11/Source/WebKit/UIProcess/WebProcessPool.cpp

    r243163 r243343  
    12161216        // Sharing processes, e.g. when creating the page via window.open().
    12171217        process = &pageConfiguration->relatedPage()->process();
    1218     } else if (WebKit::isInspectorProcessPool(*this)) {
    1219         // Do not delay process launch for inspector pages as inspector pages do not know how to transition from a terminated process.
     1218    } else {
    12201219        process = &processForRegistrableDomain(pageConfiguration->websiteDataStore()->websiteDataStore(), nullptr, { });
    1221     } else {
    1222         // In the common case, we delay process launch until something is actually loaded in the page.
    1223         if (!m_dummyProcessProxy) {
    1224             auto dummyProcessProxy = WebProcessProxy::create(*this, WebsiteDataStore::createNonPersistent().get(), WebProcessProxy::IsPrewarmed::No, WebProcessProxy::ShouldLaunchProcess::No);
    1225             m_dummyProcessProxy = dummyProcessProxy.ptr();
    1226             m_processes.append(WTFMove(dummyProcessProxy));
    1227         }
    1228         process = m_dummyProcessProxy;
    1229     }
     1220    }
     1221
    12301222    ASSERT(process);
    12311223
Note: See TracChangeset for help on using the changeset viewer.