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

Unified Diff: runtime/bin/platform.h

Issue 1535743002: - Make sure that externals are patched for dart2js. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: More removal of native code. Created 5 years 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 | « runtime/bin/main.cc ('k') | runtime/bin/platform.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/platform.h
diff --git a/runtime/bin/platform.h b/runtime/bin/platform.h
index 4d847e77d5a030cd711a4cf43a95f35a1c45e847..4dec601654a77aa306c856a36bcba615d7dea2d1 100644
--- a/runtime/bin/platform.h
+++ b/runtime/bin/platform.h
@@ -56,14 +56,6 @@ class Platform {
return resolved_executable_name_;
}
- // Stores and gets the package root.
- static void SetPackageRoot(const char* package_root) {
- package_root_ = package_root;
- }
- static const char* GetPackageRoot() {
- return package_root_;
- }
-
// Stores and gets the flags passed to the executable.
static void SetExecutableArguments(int script_index, char** argv) {
script_index_ = script_index;
@@ -84,7 +76,6 @@ class Platform {
// The path to the resolved executable.
static const char* resolved_executable_name_;
- static const char* package_root_;
static int script_index_;
static char** argv_; // VM flags are argv_[1 ... script_index_ - 1]
« no previous file with comments | « runtime/bin/main.cc ('k') | runtime/bin/platform.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698