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

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

Issue 894613002: Dart: 2++ = 3 (Closed) Base URL: https://github.com/eseidel/skydart.git@master
Patch Set: sync Created 5 years, 11 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
« sky/engine/bindings-dart/BUILD.gn ('K') | « sky/engine/core/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/frame/LocalFrame.cpp
diff --git a/sky/engine/core/frame/LocalFrame.cpp b/sky/engine/core/frame/LocalFrame.cpp
index 528c070cf1f57b144f51ef9f5d91bc30bb5392bb..7c7d86697335d76c415602f575c3fb929f093b78 100644
--- a/sky/engine/core/frame/LocalFrame.cpp
+++ b/sky/engine/core/frame/LocalFrame.cpp
@@ -31,6 +31,7 @@
#include "sky/engine/core/frame/LocalFrame.h"
#include "gen/sky/platform/RuntimeEnabledFeatures.h"
+#include "sky/engine/bindings-dart/dart_master.h"
#include "sky/engine/bindings/core/v8/ScriptController.h"
#include "sky/engine/core/editing/Editor.h"
#include "sky/engine/core/editing/FrameSelection.h"
@@ -77,6 +78,7 @@ inline LocalFrame::LocalFrame(FrameLoaderClient* client, FrameHost* host)
, m_inputMethodController(InputMethodController::create(*this))
{
page()->setMainFrame(this);
+ DartMaster::InitVM();
}
PassRefPtr<LocalFrame> LocalFrame::create(FrameLoaderClient* client, FrameHost* host)
« sky/engine/bindings-dart/BUILD.gn ('K') | « sky/engine/core/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698