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

Unified Diff: sky/shell/ui/engine.cc

Issue 1156203003: Fix dart:sky.internals to work in SkyView (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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
Index: sky/shell/ui/engine.cc
diff --git a/sky/shell/ui/engine.cc b/sky/shell/ui/engine.cc
index cbba62afb6f47dac623d6de1f92650aad2f84d07..04ab9ec6137f7c9e6457f58b0239349d4577b234 100644
--- a/sky/shell/ui/engine.cc
+++ b/sky/shell/ui/engine.cc
@@ -208,6 +208,11 @@ void Engine::didCreateIsolate(blink::WebLocalFrame* frame,
CreateServiceProvider(config_.service_provider_context));
}
+void Engine::DidCreateIsolate(Dart_Isolate isolate) {
+ Internals::Create(isolate,
+ CreateServiceProvider(config_.service_provider_context));
+}
+
void Engine::ScheduleFrame() {
animator_->RequestFrame();
}

Powered by Google App Engine
This is Rietveld 408576698