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

Unified Diff: sky/engine/core/script/dart_controller.cc

Issue 1237973004: Port more String and HashMap usages (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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: sky/engine/core/script/dart_controller.cc
diff --git a/sky/engine/core/script/dart_controller.cc b/sky/engine/core/script/dart_controller.cc
index a51eec9b9ab8d341e9444d570226863a4c4168a8..cf12e38f7d30569da60feda35c3eff9ab41b7019 100644
--- a/sky/engine/core/script/dart_controller.cc
+++ b/sky/engine/core/script/dart_controller.cc
@@ -115,7 +115,7 @@ void DartController::RunFromLibrary(const String& name,
loader.set_library_provider(library_provider);
DartDependencyCatcher dependency_catcher(loader);
- loader.LoadLibrary(name);
+ loader.LoadLibrary(name.toUTF8());
loader.WaitForDependencies(dependency_catcher.dependencies(),
base::Bind(&DartController::DidLoadMainLibrary,
weak_factory_.GetWeakPtr(), name));

Powered by Google App Engine
This is Rietveld 408576698