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

Unified Diff: native_client_sdk/src/examples/geturl/geturl_handler.cc

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
Index: native_client_sdk/src/examples/geturl/geturl_handler.cc
diff --git a/native_client_sdk/src/examples/geturl/geturl_handler.cc b/native_client_sdk/src/examples/geturl/geturl_handler.cc
index b73b45d18745d1bcde36ccd61c3b02d065000638..20008547a6c0f2aa6ba8e8a6e3cd4e47b7a72378 100644
--- a/native_client_sdk/src/examples/geturl/geturl_handler.cc
+++ b/native_client_sdk/src/examples/geturl/geturl_handler.cc
@@ -15,6 +15,9 @@
#undef min
#undef max
#undef PostMessage
+
+// Allow 'this' in initializer list
+#pragma warning(disable : 4355)
#endif
GetURLHandler* GetURLHandler::Create(pp::Instance* instance,
« no previous file with comments | « native_client_sdk/src/examples/file_histogram/file_histogram.cc ('k') | native_client_sdk/src/examples/mouselock/mouselock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698