Title: [245343] trunk/Source/WebKit
Revision
245343
Author
[email protected]
Date
2019-05-15 14:14:33 -0700 (Wed, 15 May 2019)

Log Message

Unreviewed, fix assertion introduced in r245339.

* UIProcess/WebProcessCache.cpp:
(WebKit::WebProcessCache::CachedProcess::CachedProcess):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (245342 => 245343)


--- trunk/Source/WebKit/ChangeLog	2019-05-15 20:52:11 UTC (rev 245342)
+++ trunk/Source/WebKit/ChangeLog	2019-05-15 21:14:33 UTC (rev 245343)
@@ -1,3 +1,10 @@
+2019-05-15  Chris Dumez  <[email protected]>
+
+        Unreviewed, fix assertion introduced in r245339.
+
+        * UIProcess/WebProcessCache.cpp:
+        (WebKit::WebProcessCache::CachedProcess::CachedProcess):
+
 2019-05-15  Sihui Liu  <[email protected]>
 
         Add assertions to help diagnose crash at WebProcessProxy::processPool()

Modified: trunk/Source/WebKit/UIProcess/WebProcessCache.cpp (245342 => 245343)


--- trunk/Source/WebKit/UIProcess/WebProcessCache.cpp	2019-05-15 20:52:11 UTC (rev 245342)
+++ trunk/Source/WebKit/UIProcess/WebProcessCache.cpp	2019-05-15 21:14:33 UTC (rev 245343)
@@ -247,7 +247,7 @@
     , 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);
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to