| Index: sky/engine/core/script/dart_controller.cc
|
| diff --git a/sky/engine/core/script/dart_controller.cc b/sky/engine/core/script/dart_controller.cc
|
| index f927ebb6ed355d120a412ba1193f99f2f3bc90cf..22fe4d38f73edbcdbfb7894bd28acb4e4ee61a31 100644
|
| --- a/sky/engine/core/script/dart_controller.cc
|
| +++ b/sky/engine/core/script/dart_controller.cc
|
| @@ -348,6 +348,13 @@ void DartController::CreateIsolateFor(PassOwnPtr<DOMDartState> state,
|
| Dart_ExitIsolate();
|
| }
|
|
|
| +void DartController::InstallView(View* view) {
|
| + DartIsolateScope isolate_scope(dart_state()->isolate());
|
| + DartApiScope dart_api_scope;
|
| +
|
| + builtin_sky_->InstallView(view);
|
| +}
|
| +
|
| void DartController::ClearForClose() {
|
| // Don't use a DartIsolateScope here since we never exit the isolate.
|
| Dart_EnterIsolate(dom_dart_state_->isolate());
|
|
|