Title: [155144] trunk/Source/WebKit2
Revision
155144
Author
ander...@apple.com
Date
2013-09-05 13:17:48 -0700 (Thu, 05 Sep 2013)

Log Message

Replace uses of CLANG_PRAGMA with #pragma

Rubber-stamped by Andreas Kling.

This file is only compiled by clang anyway.

* WebProcess/InjectedBundle/mac/InjectedBundleMac.mm:
(WebKit::InjectedBundle::load):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (155143 => 155144)


--- trunk/Source/WebKit2/ChangeLog	2013-09-05 20:12:23 UTC (rev 155143)
+++ trunk/Source/WebKit2/ChangeLog	2013-09-05 20:17:48 UTC (rev 155144)
@@ -1,5 +1,16 @@
 2013-09-05  Anders Carlsson  <ander...@apple.com>
 
+        Replace uses of CLANG_PRAGMA with #pragma
+
+        Rubber-stamped by Andreas Kling.
+
+        This file is only compiled by clang anyway.
+
+        * WebProcess/InjectedBundle/mac/InjectedBundleMac.mm:
+        (WebKit::InjectedBundle::load):
+
+2013-09-05  Anders Carlsson  <ander...@apple.com>
+
         GCAssertions.h should use STL type traits and static_assert
         https://bugs.webkit.org/show_bug.cgi?id=120785
 

Modified: trunk/Source/WebKit2/WebProcess/InjectedBundle/mac/InjectedBundleMac.mm (155143 => 155144)


--- trunk/Source/WebKit2/WebProcess/InjectedBundle/mac/InjectedBundleMac.mm	2013-09-05 20:12:23 UTC (rev 155143)
+++ trunk/Source/WebKit2/WebProcess/InjectedBundle/mac/InjectedBundleMac.mm	2013-09-05 20:17:48 UTC (rev 155144)
@@ -113,10 +113,10 @@
             objCInitializationUserData = static_cast<ObjCObjectGraph*>(initializationUserData)->rootObject();
         [instance webProcessPlugIn:[WKWebProcessPlugInController _shared] initializeWithObject:objCInitializationUserData.get()];
     } else if ([instance respondsToSelector:@selector(webProcessPlugInInitialize:)]) {
-        CLANG_PRAGMA("clang diagnostic push")
-        CLANG_PRAGMA("clang diagnostic ignored \"-Wdeprecated-declarations\"")
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
         [instance webProcessPlugInInitialize:[WKWebProcessPlugInController _shared]];
-        CLANG_PRAGMA("clang diagnostic pop")
+#pragma clang diagnostic pop
     }
 
     return true;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to