Fix build with recent clang.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 7 Jul 2012 08:27:36 +0000 (08:27 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 7 Jul 2012 08:27:36 +0000 (08:27 +0000)
https://bugs.webkit.org/show_bug.cgi?id=90712

Patch by Nuno Lopes <nlopes@apple.com> 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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@122053 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic_Bundle.cpp
Tools/TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache_Bundle.cpp
Tools/TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash_Bundle.cpp

index 24cc972..e29cfee 100644 (file)
@@ -1,3 +1,17 @@
+2012-07-07  Nuno Lopes  <nlopes@apple.com>
+
+        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  <zandobersek@gmail.com>
 
         [Gtk] Add a configuration option for disabling unstable features in releases
index bb5b1eb..98bfab3 100644 (file)
@@ -81,7 +81,6 @@ private:
     void sendExtensionStateMessage();
     void sendBundleMessage(const char*);
 
-    WKBundlePageGroupRef m_pageGroup;
     WKBundleRef m_bundle;
     ExtensionRecord m_extensionRecords[6];
     HashMap<WKBundleDOMWindowExtensionRef, int> m_extensionToRecordMap;
index fcc0c72..8f6cd7b 100644 (file)
@@ -80,7 +80,6 @@ private:
     void sendExtensionStateMessage();
     void sendBundleMessage(const char*);
 
-    WKBundlePageGroupRef m_pageGroup;
     WKBundleRef m_bundle;
     ExtensionRecord m_extensionRecords[10];
     HashMap<WKBundleDOMWindowExtensionRef, int> m_extensionToRecordMap;
index 3aa2909..30805f7 100644 (file)
@@ -48,9 +48,6 @@ public:
         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");