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

Unified Diff: sky/engine/public/sky/sky_view.cc

Issue 1131673011: Teach SkyView code path to print hello, world (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: again Created 5 years, 7 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 | « sky/engine/core/script/dom_dart_state.cc ('k') | sky/examples/raw/hello_world.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/public/sky/sky_view.cc
diff --git a/sky/engine/public/sky/sky_view.cc b/sky/engine/public/sky/sky_view.cc
index 0643854f4fa780dc2943be1b996bd9871ef65029..aa9776647d3b4f6dd59d3fa8ef2b4c820b413799 100644
--- a/sky/engine/public/sky/sky_view.cc
+++ b/sky/engine/public/sky/sky_view.cc
@@ -6,6 +6,7 @@
#include "sky/engine/public/sky/sky_view.h"
#include "sky/engine/core/script/dart_controller.h"
+#include "sky/engine/core/script/dom_dart_state.h"
#include "sky/engine/platform/weborigin/KURL.h"
namespace blink {
@@ -29,7 +30,7 @@ void SkyView::SetDisplayMetrics(const SkyDisplayMetrics& metrics) {
void SkyView::Load(const WebURL& url) {
dart_controller_.reset(new DartController);
- dart_controller_->CreateIsolateFor(nullptr);
+ dart_controller_->CreateIsolateFor(adoptPtr(new DOMDartState(nullptr)), url);
dart_controller_->LoadMainLibrary(url);
}
« no previous file with comments | « sky/engine/core/script/dom_dart_state.cc ('k') | sky/examples/raw/hello_world.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698