Title: [234813] trunk/Source/WebKit
Revision
234813
Author
[email protected]
Date
2018-08-13 13:01:50 -0700 (Mon, 13 Aug 2018)

Log Message

Fix linux build after r234811
https://bugs.webkit.org/show_bug.cgi?id=188501

* UIProcess/API/glib/WebKitWebsiteData.cpp:
(recordContainsSupportedDataTypes):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (234812 => 234813)


--- trunk/Source/WebKit/ChangeLog	2018-08-13 19:52:13 UTC (rev 234812)
+++ trunk/Source/WebKit/ChangeLog	2018-08-13 20:01:50 UTC (rev 234813)
@@ -1,3 +1,11 @@
+2018-08-13  Alex Christensen  <[email protected]>
+
+        Fix linux build after r234811
+        https://bugs.webkit.org/show_bug.cgi?id=188501
+
+        * UIProcess/API/glib/WebKitWebsiteData.cpp:
+        (recordContainsSupportedDataTypes):
+
 2018-08-13  Commit Queue  <[email protected]>
 
         Unreviewed, rolling out r234747.

Modified: trunk/Source/WebKit/UIProcess/API/glib/WebKitWebsiteData.cpp (234812 => 234813)


--- trunk/Source/WebKit/UIProcess/API/glib/WebKitWebsiteData.cpp	2018-08-13 19:52:13 UTC (rev 234812)
+++ trunk/Source/WebKit/UIProcess/API/glib/WebKitWebsiteData.cpp	2018-08-13 20:01:50 UTC (rev 234813)
@@ -65,7 +65,7 @@
 
 static bool recordContainsSupportedDataTypes(const WebsiteDataRecord& record)
 {
-    static const OptionSet<WebsiteDataType> typesSupported = {
+    return record.types.containsAny({
         WebsiteDataType::MemoryCache,
         WebsiteDataType::DiskCache,
         WebsiteDataType::OfflineWebApplicationCache,
@@ -77,8 +77,7 @@
         WebsiteDataType::PlugInData,
 #endif
         WebsiteDataType::Cookies
-    };
-    return record.types.contains(typesSupported);
+    });
 }
 
 static WebKitWebsiteDataTypes toWebKitWebsiteDataTypes(OptionSet<WebsiteDataType> types)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to