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

Unified Diff: runtime/bin/dartutils.h

Issue 1462953002: VM: Make more globals constant where easily possible. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Remove unnecessary const_cast Created 5 years, 1 month 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 | runtime/bin/dartutils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/dartutils.h
diff --git a/runtime/bin/dartutils.h b/runtime/bin/dartutils.h
index cd3ce0eef826d200467ddf88f7516bd879cb00f6..2c497b2e94ab51534a67b605f7e934ab4fbcf3c1 100644
--- a/runtime/bin/dartutils.h
+++ b/runtime/bin/dartutils.h
@@ -216,20 +216,20 @@ class DartUtils {
// Global state that stores the original working directory..
static const char* original_working_directory;
- static const char* kDartScheme;
- static const char* kDartExtensionScheme;
- static const char* kAsyncLibURL;
- static const char* kBuiltinLibURL;
- static const char* kCoreLibURL;
- static const char* kInternalLibURL;
- static const char* kIsolateLibURL;
- static const char* kIOLibURL;
- static const char* kIOLibPatchURL;
- static const char* kUriLibURL;
- static const char* kHttpScheme;
- static const char* kVMServiceLibURL;
-
- static uint8_t magic_number[];
+ static const char* const kDartScheme;
+ static const char* const kDartExtensionScheme;
+ static const char* const kAsyncLibURL;
+ static const char* const kBuiltinLibURL;
+ static const char* const kCoreLibURL;
+ static const char* const kInternalLibURL;
+ static const char* const kIsolateLibURL;
+ static const char* const kIOLibURL;
+ static const char* const kIOLibPatchURL;
+ static const char* const kUriLibURL;
+ static const char* const kHttpScheme;
+ static const char* const kVMServiceLibURL;
+
+ static const uint8_t magic_number[];
private:
DISALLOW_ALLOCATION();
« no previous file with comments | « no previous file | runtime/bin/dartutils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698