Title: [219037] trunk/Tools
Revision
219037
Author
[email protected]
Date
2017-06-30 20:24:59 -0700 (Fri, 30 Jun 2017)

Log Message

Unreviewed mac build fix.

* TestWebKitAPI/Tests/WebKit2Cocoa/WKRequestActivatedElementInfo.mm:
(TestWebKitAPI::TEST):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (219036 => 219037)


--- trunk/Tools/ChangeLog	2017-07-01 03:08:31 UTC (rev 219036)
+++ trunk/Tools/ChangeLog	2017-07-01 03:24:59 UTC (rev 219037)
@@ -1,5 +1,12 @@
 2017-06-30  Megan Gardner  <[email protected]>
 
+        Unreviewed mac build fix.
+
+        * TestWebKitAPI/Tests/WebKit2Cocoa/WKRequestActivatedElementInfo.mm:
+        (TestWebKitAPI::TEST):
+
+2017-06-30  Megan Gardner  <[email protected]>
+
         Add API to get WKActivatedElementInfo
         https://bugs.webkit.org/show_bug.cgi?id=174001
         <rdar://problem/29165518>

Modified: trunk/Tools/TestWebKitAPI/Tests/WebKit2Cocoa/WKRequestActivatedElementInfo.mm (219036 => 219037)


--- trunk/Tools/TestWebKitAPI/Tests/WebKit2Cocoa/WKRequestActivatedElementInfo.mm	2017-07-01 03:08:31 UTC (rev 219036)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKit2Cocoa/WKRequestActivatedElementInfo.mm	2017-07-01 03:24:59 UTC (rev 219037)
@@ -33,7 +33,7 @@
 #import <WebKit/_WKActivatedElementInfo.h>
 #import <wtf/RetainPtr.h>
 
-#if WK_API_ENABLED
+#if WK_API_ENABLED && PLATFORM(IOS)
 
 namespace TestWebKitAPI {
     
@@ -50,7 +50,7 @@
         EXPECT_WK_STREQ(elementInfo.URL.absoluteString, "testURL.test");
         EXPECT_WK_STREQ(elementInfo.title, "HitTestLinkTitle");
         EXPECT_WK_STREQ(elementInfo.ID, @"testID");
-        EXPECT_TRUE(elementInfo.image != nil);
+        EXPECT_NOT_NULL(elementInfo.image);
         EXPECT_EQ(elementInfo.boundingRect.size.width, 320);
         EXPECT_EQ(elementInfo.boundingRect.size.height, 500);
         EXPECT_EQ(elementInfo.image.size.width, 320);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to