| Index: Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp b/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp
|
| index f9d29c65cf38796b2d77ef295427266b67c7d65b..96837c8eb606255dada37771502d2de639b0b80a 100644
|
| --- a/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp
|
| @@ -40,7 +40,6 @@
|
| #include "V8Storage.h"
|
| #include "bindings/common/ScriptValue.h"
|
| #include "bindings/dart/DartHandleProxy.h"
|
| -#include "bindings/dart/DartInjectedScriptHostHelper.h"
|
| #include "bindings/v8/BindingSecurity.h"
|
| #include "bindings/v8/ScriptDebugServer.h"
|
| #include "bindings/v8/V8AbstractEventListener.h"
|
| @@ -191,6 +190,7 @@ void V8InjectedScriptHost::typeMethodCustom(const v8::FunctionCallbackInfo<v8::V
|
| v8SetReturnValue(info, v8AtomicString(isolate, "array"));
|
| return;
|
| }
|
| + // FIXMEDART: remove this.
|
| if (DartHandleProxy::isDartProxy(value)) {
|
| const char* type = DartHandleProxy::getJavaScriptType(value);
|
| if (type)
|
| @@ -346,14 +346,6 @@ void V8InjectedScriptHost::evaluateMethodCustom(const v8::FunctionCallbackInfo<v
|
| return;
|
| }
|
|
|
| - // FIXME(dartbug.com/13804): refactor DartInjectedScriptHostHelper to instead
|
| - // subclass InjectedScriptHost.
|
| - v8::Handle<v8::Value> dartResult = DartInjectedScriptHostHelper::evaluateIfDartContext(info.Holder(), expression);
|
| - if (!dartResult.IsEmpty()) {
|
| - v8SetReturnValue(info, dartResult);
|
| - return;
|
| - }
|
| -
|
| ASSERT(!isolate->GetCurrentContext().IsEmpty());
|
| v8::TryCatch tryCatch;
|
| v8::Handle<v8::Value> result = V8ScriptRunner::compileAndRunInternalScript(expression, info.GetIsolate());
|
|
|