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

Unified Diff: runtime/bin/main.cc

Issue 1416293003: Some cleanups to observatory BUILD.gn (Closed) Base URL: git@github.com:dart-lang/sdk.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 | runtime/observatory/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/main.cc
diff --git a/runtime/bin/main.cc b/runtime/bin/main.cc
index dacbb8feccd7dc5dc1a0947aa6fcf415495e9283..7327d8588a3eb65711f90646c3f8bab05ed74777 100644
--- a/runtime/bin/main.cc
+++ b/runtime/bin/main.cc
@@ -1347,11 +1347,11 @@ bool RunMainIsolate(const char* script_name,
#undef CHECK_RESULT
extern unsigned int observatory_assets_archive_len;
-extern const char* observatory_assets_archive;
+extern const uint8_t* const observatory_assets_archive;
Dart_Handle GetVMServiceAssetsArchiveCallback() {
return DartUtils::MakeUint8Array(
- reinterpret_cast<const uint8_t*>(&observatory_assets_archive[0]),
+ observatory_assets_archive,
observatory_assets_archive_len);
}
« no previous file with comments | « no previous file | runtime/observatory/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698