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

Unified Diff: webkit/glue/plugins/test/plugin_npobject_proxy_test.cc

Issue 2418: Unignore most warnings on POSIX in build/SConscript.main. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 years, 3 months 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/glue/event_conversion.h ('k') | webkit/glue/webframe_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/test/plugin_npobject_proxy_test.cc
===================================================================
--- webkit/glue/plugins/test/plugin_npobject_proxy_test.cc (revision 2109)
+++ webkit/glue/plugins/test/plugin_npobject_proxy_test.cc (working copy)
@@ -2,8 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "base/basictypes.h"
+#include "base/compiler_specific.h"
+
+#if defined(OS_WIN)
#define STRSAFE_NO_DEPRECATE
#include <strsafe.h>
+#endif
#include "webkit/glue/plugins/test/plugin_npobject_proxy_test.h"
namespace NPAPIClient {
@@ -25,7 +30,7 @@
NPObject *doc = NPVARIANT_TO_OBJECT(docv);
NPVariant strv;
-#pragma warning(suppress: 4267)
+ MSVC_SUPPRESS_WARNING(4267);
STRINGZ_TO_NPVARIANT("div", strv);
NPVariant textv;
« no previous file with comments | « webkit/glue/event_conversion.h ('k') | webkit/glue/webframe_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698