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

Unified Diff: mojo/runner/native_application_support.cc

Issue 1416673007: Remove unused Go runtime support in mojo shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/runner/native_application_support.cc
diff --git a/mojo/runner/native_application_support.cc b/mojo/runner/native_application_support.cc
index 059fcc509fd6f31cdaa9d00c941f52e7b9fc91ce..e1e35dccc33c67e06e9b1818cb624e3367ebace2 100644
--- a/mojo/runner/native_application_support.cc
+++ b/mojo/runner/native_application_support.cc
@@ -81,16 +81,6 @@ bool RunNativeApplication(base::NativeLibrary app_library,
// Unlike system thunks, we don't warn on a lack of GLES2 thunks because
// not everything is a visual app.
- // Go shared library support requires us to initialize the runtime before we
- // start running any go code. This is a temporary patch.
- typedef void (*InitGoRuntimeFn)();
- InitGoRuntimeFn init_go_runtime = reinterpret_cast<InitGoRuntimeFn>(
- base::GetFunctionPointerFromNativeLibrary(app_library, "InitGoRuntime"));
- if (init_go_runtime) {
- DVLOG(2) << "InitGoRuntime: Initializing Go Runtime found in app";
- init_go_runtime();
- }
-
#if !defined(OS_WIN)
// On Windows, initializing base::CommandLine with null parameters gets the
// process's command line from the OS. Other platforms need it to be passed
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698