| Index: third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.cpp b/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.cpp
|
| index 8c6139ebbb9750c578dc9379eb2143f44722ee0d..805cc73ce41a6ea7f4fd4dc244af28561f6dc8cb 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.cpp
|
| @@ -4,8 +4,6 @@
|
|
|
| #include "bindings/core/v8/WrapperTypeInfo.h"
|
|
|
| -#include "core/events/EventTarget.h"
|
| -
|
| namespace blink {
|
|
|
| static_assert(offsetof(struct WrapperTypeInfo, ginEmbedder) ==
|
| @@ -13,11 +11,4 @@ static_assert(offsetof(struct WrapperTypeInfo, ginEmbedder) ==
|
| "offset of WrapperTypeInfo.ginEmbedder must be the same as "
|
| "gin::WrapperInfo.embedder");
|
|
|
| -EventTarget* WrapperTypeInfo::toEventTarget(
|
| - v8::Local<v8::Object> object) const {
|
| - if (eventTargetInheritance == NotInheritFromEventTarget)
|
| - return nullptr;
|
| - return static_cast<EventTarget*>(toScriptWrappable(object));
|
| -}
|
| -
|
| } // namespace blink
|
|
|