Title: [244565] trunk/Tools
Revision
244565
Author
[email protected]
Date
2019-04-23 13:52:31 -0700 (Tue, 23 Apr 2019)

Log Message

Fix iOS build.
https://bugs.webkit.org/show_bug.cgi?id=195537

* WebKitTestRunner/InjectedBundle/TestRunner.cpp:
(WTR::TestRunner::setOpenPanelFilesMediaIcon):
AdoptWK constructor is private now.  Use adoptWK instead.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (244564 => 244565)


--- trunk/Tools/ChangeLog	2019-04-23 20:47:43 UTC (rev 244564)
+++ trunk/Tools/ChangeLog	2019-04-23 20:52:31 UTC (rev 244565)
@@ -1,3 +1,12 @@
+2019-04-23  Alex Christensen  <[email protected]>
+
+        Fix iOS build.
+        https://bugs.webkit.org/show_bug.cgi?id=195537
+
+        * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
+        (WTR::TestRunner::setOpenPanelFilesMediaIcon):
+        AdoptWK constructor is private now.  Use adoptWK instead.
+
 2019-04-23  Andres Gonzalez  <[email protected]>
 
         Accessibility text search and selection API enhancements.

Modified: trunk/Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp (244564 => 244565)


--- trunk/Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp	2019-04-23 20:47:43 UTC (rev 244564)
+++ trunk/Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp	2019-04-23 20:52:31 UTC (rev 244565)
@@ -2453,7 +2453,7 @@
 
     auto& injectedBundle = InjectedBundle::singleton();
     // FIXME (123058): Use a JSC API to get buffer contents once such is exposed.
-    WKRetainPtr<WKDataRef> iconData(AdoptWK, WKBundleCreateWKDataFromUInt8Array(injectedBundle.bundle(), context, data));
+    WKRetainPtr<WKDataRef> iconData = adoptWK(WKBundleCreateWKDataFromUInt8Array(injectedBundle.bundle(), context, data));
 
     static auto messageName = adoptWK(WKStringCreateWithUTF8CString("SetOpenPanelFileURLsMediaIcon"));
     WKBundlePagePostMessage(page, messageName.get(), iconData.get());
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to