Title: [122053] trunk/Tools
Revision
122053
Author
[email protected]
Date
2012-07-07 01:27:36 -0700 (Sat, 07 Jul 2012)

Log Message

Fix build with recent clang.
https://bugs.webkit.org/show_bug.cgi?id=90712

Patch by Nuno Lopes <[email protected]> on 2012-07-07
Reviewed by Alexey Proskuryakov.

* TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic_Bundle.cpp:
(DOMWindowExtensionBasic):
* TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache_Bundle.cpp:
(DOMWindowExtensionNoCache):
* TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash_Bundle.cpp:
(TestWebKitAPI::DocumentStartUserScriptAlertCrashTest::initialize):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (122052 => 122053)


--- trunk/Tools/ChangeLog	2012-07-07 07:26:19 UTC (rev 122052)
+++ trunk/Tools/ChangeLog	2012-07-07 08:27:36 UTC (rev 122053)
@@ -1,3 +1,17 @@
+2012-07-07  Nuno Lopes  <[email protected]>
+
+        Fix build with recent clang.
+        https://bugs.webkit.org/show_bug.cgi?id=90712
+
+        Reviewed by Alexey Proskuryakov.
+
+        * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic_Bundle.cpp:
+        (DOMWindowExtensionBasic):
+        * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache_Bundle.cpp:
+        (DOMWindowExtensionNoCache):
+        * TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash_Bundle.cpp:
+        (TestWebKitAPI::DocumentStartUserScriptAlertCrashTest::initialize):
+
 2012-07-06  Zan Dobersek  <[email protected]>
 
         [Gtk] Add a configuration option for disabling unstable features in releases

Modified: trunk/Tools/TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic_Bundle.cpp (122052 => 122053)


--- trunk/Tools/TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic_Bundle.cpp	2012-07-07 07:26:19 UTC (rev 122052)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic_Bundle.cpp	2012-07-07 08:27:36 UTC (rev 122053)
@@ -81,7 +81,6 @@
     void sendExtensionStateMessage();
     void sendBundleMessage(const char*);
 
-    WKBundlePageGroupRef m_pageGroup;
     WKBundleRef m_bundle;
     ExtensionRecord m_extensionRecords[6];
     HashMap<WKBundleDOMWindowExtensionRef, int> m_extensionToRecordMap;

Modified: trunk/Tools/TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache_Bundle.cpp (122052 => 122053)


--- trunk/Tools/TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache_Bundle.cpp	2012-07-07 07:26:19 UTC (rev 122052)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache_Bundle.cpp	2012-07-07 08:27:36 UTC (rev 122053)
@@ -80,7 +80,6 @@
     void sendExtensionStateMessage();
     void sendBundleMessage(const char*);
 
-    WKBundlePageGroupRef m_pageGroup;
     WKBundleRef m_bundle;
     ExtensionRecord m_extensionRecords[10];
     HashMap<WKBundleDOMWindowExtensionRef, int> m_extensionToRecordMap;

Modified: trunk/Tools/TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash_Bundle.cpp (122052 => 122053)


--- trunk/Tools/TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash_Bundle.cpp	2012-07-07 07:26:19 UTC (rev 122052)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash_Bundle.cpp	2012-07-07 08:27:36 UTC (rev 122053)
@@ -48,9 +48,6 @@
         WKRetainPtr<WKStringRef> source(AdoptWK, WKStringCreateWithUTF8CString("alert('an alert');"));
         WKBundleAddUserScript(bundle, pageGroup, WKBundleScriptWorldNormalWorld(), source.get(), 0, 0, 0, kWKInjectAtDocumentStart, kWKInjectInAllFrames);
     }
-
-private:
-    WKBundlePageGroupRef m_pageGroup;
 };
 
 static InjectedBundleTest::Register<DocumentStartUserScriptAlertCrashTest> registrar("DocumentStartUserScriptAlertCrashTest");
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to