Unreviewed, fix assertion introduced in r245339.
[WebKit-https.git] / Source / WebKit / UIProcess / WebProcessCache.cpp
index 88177b1..cbfb0ab 100644 (file)
@@ -247,7 +247,7 @@ WebProcessCache::CachedProcess::CachedProcess(Ref<WebProcessProxy>&& process)
     , m_evictionTimer(RunLoop::main(), this, &CachedProcess::evictionTimerFired)
 {
     RELEASE_ASSERT(!m_process->pageCount());
-    RELEASE_ASSERT_WITH_MESSAGE(!m_process->websiteDataStore().hasProcess(process.ptr()), "Only processes with pages should be registered with the data store");
+    RELEASE_ASSERT_WITH_MESSAGE(!m_process->websiteDataStore().hasProcess(m_process.get()), "Only processes with pages should be registered with the data store");
     m_process->setIsInProcessCache(true);
     m_evictionTimer.startOneShot(cachedProcessLifetime);
 }