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

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: 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..358bf72f87db82eb344734c1a89cd3f085550275 100644
--- a/native_client_sdk/src/examples/geturl/geturl_handler.cc
+++ b/native_client_sdk/src/examples/geturl/geturl_handler.cc
@@ -17,6 +17,11 @@
#undef PostMessage
#endif
+#ifdef _MSC_VER
+// Allow 'this' in initializer list
+#pragma warning(disable : 4355)
+#endif
+
GetURLHandler* GetURLHandler::Create(pp::Instance* instance,
const std::string& url) {
return new GetURLHandler(instance, url);

Powered by Google App Engine
This is Rietveld 408576698