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

Unified Diff: Source/bindings/core/dart/DartController.cpp

Issue 2543703003: Added setting up VMLibraryHooks for Dartium to support resolvePageUri (Closed)
Patch Set: Incorporated Siva suggestion Created 3 years, 11 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: Source/bindings/core/dart/DartController.cpp
diff --git a/Source/bindings/core/dart/DartController.cpp b/Source/bindings/core/dart/DartController.cpp
index 4ffedaa560a40144de4128e980cdaa325d60e167..cc7b2af7c5c83cc939316b10b87bec48eab49065 100644
--- a/Source/bindings/core/dart/DartController.cpp
+++ b/Source/bindings/core/dart/DartController.cpp
@@ -744,7 +744,7 @@ void DartController::initVMIfNeeded(bool checked, Document* document)
init_params.entropy_source = generateEntropy;
init_params.get_service_assets = GetVMServiceAssetsArchiveCallback;
char* error = Dart_Initialize(&init_params);
- RELEASE_ASSERT_WITH_MESSAGE(!error, error);
+ RELEASE_ASSERT_WITH_MESSAGE(!error, "Dart_Initialize failed");
}
static bool checkForExpiration()
« no previous file with comments | « Source/bindings/core/dart/DartApplicationLoader.cpp ('k') | Source/bindings/core/dart/DartNativeUtilities.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698