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

Unified Diff: sky/engine/core/frame/LocalDOMWindow.cpp

Issue 1210253005: Factor dart_init.cc out of dart_controller.cc (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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/core.gni ('k') | sky/engine/core/frame/LocalFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/frame/LocalDOMWindow.cpp
diff --git a/sky/engine/core/frame/LocalDOMWindow.cpp b/sky/engine/core/frame/LocalDOMWindow.cpp
index cb5a02bad5c91dc92e8f12f0e27306ff189455b2..207fd81599b80ccc0cecc51b8118ff343d915697 100644
--- a/sky/engine/core/frame/LocalDOMWindow.cpp
+++ b/sky/engine/core/frame/LocalDOMWindow.cpp
@@ -226,16 +226,6 @@ PassRefPtr<Document> LocalDOMWindow::installNewDocument(const DocumentInit& init
m_document = Document::create(init);
m_application = Application::create(m_document.get(), m_document.get(), m_document->url().string());
m_eventQueue = DOMWindowEventQueue::create(m_document.get());
- m_frame->dart().CreateIsolateFor(adoptPtr(
- new DOMDartState(m_document.get(), m_document->url().string())));
-
- {
- Dart_Isolate isolate = m_frame->dart().dart_state()->isolate();
- DartIsolateScope scope(isolate);
- DartApiScope api_scope;
- m_document->frame()->loaderClient()->didCreateIsolate(isolate);
- }
-
m_document->attach();
return m_document;
}
« no previous file with comments | « sky/engine/core/core.gni ('k') | sky/engine/core/frame/LocalFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698