Title: [249502] trunk/Source/WebKit
Revision
249502
Author
[email protected]
Date
2019-09-04 16:13:04 -0700 (Wed, 04 Sep 2019)

Log Message

Unreviewed minor follow-up fix after r249501 to address crashes in debug.

* NetworkProcess/cache/NetworkCache.h:
(WTF::HashTraits<WebKit::NetworkCache::GlobalFrameID>::constructDeletedValue):
(WTF::HashTraits<WebKit::NetworkCache::GlobalFrameID>::isDeletedValue):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (249501 => 249502)


--- trunk/Source/WebKit/ChangeLog	2019-09-04 22:57:50 UTC (rev 249501)
+++ trunk/Source/WebKit/ChangeLog	2019-09-04 23:13:04 UTC (rev 249502)
@@ -1,5 +1,13 @@
 2019-09-04  Chris Dumez  <[email protected]>
 
+        Unreviewed minor follow-up fix after r249501 to address crashes in debug.
+
+        * NetworkProcess/cache/NetworkCache.h:
+        (WTF::HashTraits<WebKit::NetworkCache::GlobalFrameID>::constructDeletedValue):
+        (WTF::HashTraits<WebKit::NetworkCache::GlobalFrameID>::isDeletedValue):
+
+2019-09-04  Chris Dumez  <[email protected]>
+
         Expose WebPageProxy identifier to the Network Process
         https://bugs.webkit.org/show_bug.cgi?id=201467
 

Modified: trunk/Source/WebKit/NetworkProcess/cache/NetworkCache.h (249501 => 249502)


--- trunk/Source/WebKit/NetworkProcess/cache/NetworkCache.h	2019-09-04 22:57:50 UTC (rev 249501)
+++ trunk/Source/WebKit/NetworkProcess/cache/NetworkCache.h	2019-09-04 23:13:04 UTC (rev 249502)
@@ -211,9 +211,9 @@
 template<> struct HashTraits<WebKit::NetworkCache::GlobalFrameID> : GenericHashTraits<WebKit::NetworkCache::GlobalFrameID> {
     static WebKit::NetworkCache::GlobalFrameID emptyValue() { return { }; }
 
-    static void constructDeletedValue(WebKit::NetworkCache::GlobalFrameID& slot) { slot.webPageProxyID = makeObjectIdentifier<WebKit::WebPageProxyIdentifierType>(std::numeric_limits<uint64_t>::max()); }
+    static void constructDeletedValue(WebKit::NetworkCache::GlobalFrameID& slot) { slot.webPageID = makeObjectIdentifier<WebCore::PageIdentifierType>(std::numeric_limits<uint64_t>::max()); }
 
-    static bool isDeletedValue(const WebKit::NetworkCache::GlobalFrameID& slot) { return slot.webPageProxyID.toUInt64() == std::numeric_limits<uint64_t>::max(); }
+    static bool isDeletedValue(const WebKit::NetworkCache::GlobalFrameID& slot) { return slot.webPageID.toUInt64() == std::numeric_limits<uint64_t>::max(); }
 };
 
 template<> struct DefaultHash<WebKit::NetworkCache::GlobalFrameID> {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to