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

Unified Diff: runtime/bin/platform_linux.cc

Issue 2941873002: [Fuchsia] Fix Platform.executable and Platform.resolvedExecutable (Closed)
Patch Set: Created 3 years, 6 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: runtime/bin/platform_linux.cc
diff --git a/runtime/bin/platform_linux.cc b/runtime/bin/platform_linux.cc
index 4e450f1ac271c227259d84fc04421e9ddddcfbfc..97a9437724d36818b48bd3d51ad444793ac6031c 100644
--- a/runtime/bin/platform_linux.cc
+++ b/runtime/bin/platform_linux.cc
@@ -114,6 +114,11 @@ char** Platform::Environment(intptr_t* count) {
}
+const char* Platform::GetExecutableName() {
+ return executable_name_;
+}
+
+
const char* Platform::ResolveExecutablePath() {
return File::LinkTarget("/proc/self/exe");
}

Powered by Google App Engine
This is Rietveld 408576698