| Index: third_party/WebKit/Source/core/events/EventListener.h
|
| diff --git a/third_party/WebKit/Source/core/events/EventListener.h b/third_party/WebKit/Source/core/events/EventListener.h
|
| index 03045cc1b10129802b8b39f17427aae73eb4718d..293362b9750ffce5bc9ed488e582947523c8dbdf 100644
|
| --- a/third_party/WebKit/Source/core/events/EventListener.h
|
| +++ b/third_party/WebKit/Source/core/events/EventListener.h
|
| @@ -27,6 +27,7 @@
|
|
|
| namespace blink {
|
|
|
| +class Document;
|
| class Event;
|
| class ExecutionContext;
|
|
|
| @@ -46,9 +47,7 @@ class CORE_EXPORT EventListener
|
| virtual void handleEvent(ExecutionContext*, Event*) = 0;
|
| virtual const String& Code() const { return g_empty_string; }
|
| virtual bool WasCreatedFromMarkup() const { return false; }
|
| - virtual bool BelongsToTheCurrentWorld(ExecutionContext*) const {
|
| - return false;
|
| - }
|
| + virtual bool BelongsToTheCurrentWorld(Document*) const { return false; }
|
| virtual bool IsAttribute() const { return false; }
|
|
|
| ListenerType GetType() const { return type_; }
|
|
|