From 0eb9f434fb019da43b97c81d7e314885d43af0f9 Mon Sep 17 00:00:00 2001 From: "deanm@chromium.org" Date: Fri, 21 Nov 2008 18:48:52 +0000 Subject: Wrap MSVC-specific pragmas. As -Wunknown-pragmas has been disabled for wtf, some of these sneaked in. BUG=2053 Review URL: http://codereview.chromium.org/11801 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5830 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/glue/stacking_order_iterator.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'webkit/glue/stacking_order_iterator.cc') diff --git a/webkit/glue/stacking_order_iterator.cc b/webkit/glue/stacking_order_iterator.cc index c50c9b3..2d77ae9 100755 --- a/webkit/glue/stacking_order_iterator.cc +++ b/webkit/glue/stacking_order_iterator.cc @@ -3,11 +3,12 @@ // found in the LICENSE file. #include "config.h" +#include "base/compiler_specific.h" -#pragma warning(push, 0) +MSVC_PUSH_WARNING_LEVEL(0); #include "RenderLayer.h" #include "RenderObject.h" -#pragma warning(pop) +MSVC_POP_WARNING(); #undef LOG #include "webkit/glue/stacking_order_iterator.h" -- cgit v1.1