Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(407)

Unified Diff: third_party/WebKit/Source/core/events/EventListener.h

Issue 2492793002: Support fetching attribute listeners from outside v8 context scopes. (Closed)
Patch Set: try to tidy up logic Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 19d1027d2045b8e8840178e37db95fcb55de9e81..d42f559f43d89b13891b896768f3681b3aa14a71 100644
--- a/third_party/WebKit/Source/core/events/EventListener.h
+++ b/third_party/WebKit/Source/core/events/EventListener.h
@@ -45,7 +45,9 @@ class CORE_EXPORT EventListener
virtual bool operator==(const EventListener&) const = 0;
virtual void handleEvent(ExecutionContext*, Event*) = 0;
virtual const String& code() const { return emptyString(); }
- virtual bool belongsToTheCurrentWorld() const { return false; }
+ virtual bool belongsToTheCurrentWorld(ExecutionContext*) const {
+ return false;
+ }
bool isAttribute() const { return virtualisAttribute(); }
ListenerType type() const { return m_type; }

Powered by Google App Engine
This is Rietveld 408576698