Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(930)

Unified Diff: webkit/port/platform/chromium/ClipboardChromium.cpp

Issue 11801: Wrap MSVC-specific pragmas. As -Wunknown-pragmas has been disabled for wtf,... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/port/loader/IconLoader.cpp ('k') | webkit/port/platform/chromium/FileChooserChromium.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/port/platform/chromium/ClipboardChromium.cpp
===================================================================
--- webkit/port/platform/chromium/ClipboardChromium.cpp (revision 5614)
+++ webkit/port/platform/chromium/ClipboardChromium.cpp (working copy)
@@ -25,7 +25,9 @@
#include "config.h"
-#pragma warning(push, 0)
+#if COMPILER(MSVC)
+__pragma(warning(push, 0))
+#endif
#include "CachedImage.h"
#include "ChromiumBridge.h"
#include "ChromiumDataObject.h"
@@ -53,7 +55,9 @@
#include "StringBuilder.h"
#include "StringHash.h"
#include <wtf/RefPtr.h>
-#pragma warning(pop)
+#if COMPILER(MSVC)
+__pragma(warning(pop))
+#endif
namespace WebCore {
« no previous file with comments | « webkit/port/loader/IconLoader.cpp ('k') | webkit/port/platform/chromium/FileChooserChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698