summaryrefslogtreecommitdiffstats
path: root/webkit/port/platform/chromium/ClipboardChromium.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/port/platform/chromium/ClipboardChromium.cpp')
-rw-r--r--webkit/port/platform/chromium/ClipboardChromium.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/webkit/port/platform/chromium/ClipboardChromium.cpp b/webkit/port/platform/chromium/ClipboardChromium.cpp
index 5087cdf..ac701fe 100644
--- a/webkit/port/platform/chromium/ClipboardChromium.cpp
+++ b/webkit/port/platform/chromium/ClipboardChromium.cpp
@@ -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 {