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

Unified Diff: native_client_sdk/src/examples/mouselock/mouselock.h

Issue 11147004: use CXX compiler for c++ files (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: feedback Created 8 years, 2 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 | « native_client_sdk/src/examples/geturl/geturl_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/examples/mouselock/mouselock.h
diff --git a/native_client_sdk/src/examples/mouselock/mouselock.h b/native_client_sdk/src/examples/mouselock/mouselock.h
index 101bf96c1c25c28b7eea5d984c7f16447fc8fd10..62f48f2ce6dfb39ca1f6c97bcf36c9af57bc1e92 100644
--- a/native_client_sdk/src/examples/mouselock/mouselock.h
+++ b/native_client_sdk/src/examples/mouselock/mouselock.h
@@ -19,6 +19,11 @@
#include "ppapi/cpp/var.h"
#include "ppapi/utility/completion_callback_factory.h"
+#ifdef _MSC_VER
+// Allow 'this' in initializer list
+#pragma warning(disable : 4355)
+#endif
+
namespace mouselock {
class MouseLockInstance : public pp::Instance, public pp::MouseLock {
« no previous file with comments | « native_client_sdk/src/examples/geturl/geturl_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698