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

Unified Diff: services/sky/document_view.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
« no previous file with comments | « services/sky/dart_library_provider_impl.cc ('k') | sky/engine/core/script/dart_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/sky/document_view.cc
diff --git a/services/sky/document_view.cc b/services/sky/document_view.cc
index cb9abab7eb9dcdfdc4b4fef47c9544039fe3f6e3..e62b6d0a402e6d07d59053468d91ff8bb58cc3f1 100644
--- a/services/sky/document_view.cc
+++ b/services/sky/document_view.cc
@@ -70,7 +70,7 @@ CreatePrefetchedLibraryIfNeeded(const String& name,
scoped_ptr<DartLibraryProviderImpl::PrefetchedLibrary> prefetched;
if (response->status_code == 200) {
prefetched.reset(new DartLibraryProviderImpl::PrefetchedLibrary());
- prefetched->name = name;
+ prefetched->name = name.toUTF8();
prefetched->pipe = response->body.Pass();
}
return prefetched.Pass();
« no previous file with comments | « services/sky/dart_library_provider_impl.cc ('k') | sky/engine/core/script/dart_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698