summaryrefslogtreecommitdiffstats
path: root/webkit/glue/cpp_variant_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/cpp_variant_unittest.cc')
-rw-r--r--webkit/glue/cpp_variant_unittest.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/webkit/glue/cpp_variant_unittest.cc b/webkit/glue/cpp_variant_unittest.cc
index f8d0e27..bb3ecc8 100644
--- a/webkit/glue/cpp_variant_unittest.cc
+++ b/webkit/glue/cpp_variant_unittest.cc
@@ -4,12 +4,14 @@
#include "config.h"
+#include "base/compiler_specific.h"
+
#include "webkit/glue/cpp_variant.h"
#include "testing/gtest/include/gtest/gtest.h"
-#pragma warning(push, 0)
+MSVC_PUSH_WARNING_LEVEL(0);
#include "npruntime_priv.h" // for NPN_InitializeVariantWithStringCopy
-#pragma warning(pop)
+MSVC_POP_WARNING();
#if USE(JSC)
#define _NPN_InitializeVariantWithStringCopy NPN_InitializeVariantWithStringCopy