Title: [260282] trunk/Tools
Revision
260282
Author
[email protected]
Date
2020-04-17 14:19:49 -0700 (Fri, 17 Apr 2020)

Log Message

Unreviewed build fix after r260269.

* TestWebKitAPI/Tests/WebKitCocoa/InAppBrowserPrivacy.mm:
(TEST): Correct argument order.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (260281 => 260282)


--- trunk/Tools/ChangeLog	2020-04-17 21:13:37 UTC (rev 260281)
+++ trunk/Tools/ChangeLog	2020-04-17 21:19:49 UTC (rev 260282)
@@ -1,3 +1,10 @@
+2020-04-17  Brent Fulgham  <[email protected]>
+
+        Unreviewed build fix after r260269.
+
+        * TestWebKitAPI/Tests/WebKitCocoa/InAppBrowserPrivacy.mm:
+        (TEST): Correct argument order.
+
 2020-04-17  Jer Noble  <[email protected]>
 
         Bring Fullscreen API + alert() behavior from iOS to macOS

Modified: trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/InAppBrowserPrivacy.mm (260281 => 260282)


--- trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/InAppBrowserPrivacy.mm	2020-04-17 21:13:37 UTC (rev 260281)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/InAppBrowserPrivacy.mm	2020-04-17 21:19:49 UTC (rev 260282)
@@ -375,7 +375,7 @@
     [webView _test_waitForDidFinishNavigation];
 
     RetainPtr<_WKUserContentWorld> world = [_WKUserContentWorld worldWithName:@"TestWorld"];
-    RetainPtr<_WKUserStyleSheet> styleSheet = adoptNS([[_WKUserStyleSheet alloc] initWithSource:styleSheetSource forWKWebView:webView.get() level:_WKUserStyleUserLevel forMainFrameOnly:YES userContentWorld:world.get()]);
+    RetainPtr<_WKUserStyleSheet> styleSheet = adoptNS([[_WKUserStyleSheet alloc] initWithSource:styleSheetSource forWKWebView:webView.get() forMainFrameOnly:YES level:_WKUserStyleUserLevel userContentWorld:world.get()]);
     [[configuration userContentController] _addUserStyleSheet:styleSheet.get()];
 
     expectScriptEvaluatesToColor(webView.get(), backgroundColorScript, redInRGB);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to