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

Unified Diff: webkit/port/platform/chromium/PopupMenuChromium.h

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
Index: webkit/port/platform/chromium/PopupMenuChromium.h
===================================================================
--- webkit/port/platform/chromium/PopupMenuChromium.h (revision 5614)
+++ webkit/port/platform/chromium/PopupMenuChromium.h (working copy)
@@ -5,12 +5,18 @@
#ifndef PopupMenuChromium_h
#define PopupMenuChromium_h
-#pragma warning(push, 0)
+#include "config.h"
+
+#if COMPILER(MSVC)
+__pragma(warning(push, 0))
+#endif
#include "PopupMenuClient.h"
#include "FramelessScrollView.h"
#include "IntRect.h"
-#pragma warning(pop)
+#if COMPILER(MSVC)
+__pragma(warning(pop))
+#endif
namespace WebCore {
« no previous file with comments | « webkit/port/platform/chromium/FileChooserChromium.cpp ('k') | webkit/port/platform/chromium/PopupMenuChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698