| Index: third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp b/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp
|
| index e34a8b21e095d66fdae733400edb334962736de8..2f3ed9fc2b99442aec45b92025575b18201427fa 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp
|
| @@ -792,14 +792,6 @@ Frame* toFrameIfNotDetached(v8::Local<v8::Context> context) {
|
| return nullptr;
|
| }
|
|
|
| -EventTarget* toEventTarget(v8::Isolate* isolate, v8::Local<v8::Value> value) {
|
| - // We need to handle a DOMWindow specially, because a DOMWindow wrapper
|
| - // exists on a prototype chain of v8Value.
|
| - if (DOMWindow* window = toDOMWindow(isolate, value))
|
| - return window;
|
| - return V8EventTarget::toImplWithTypeCheck(isolate, value);
|
| -}
|
| -
|
| void toFlexibleArrayBufferView(v8::Isolate* isolate,
|
| v8::Local<v8::Value> value,
|
| FlexibleArrayBufferView& result,
|
|
|