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

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

Issue 1677033002: Pass executionContext to document.createEvent() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months 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/EventFactory.h
diff --git a/third_party/WebKit/Source/core/events/EventFactory.h b/third_party/WebKit/Source/core/events/EventFactory.h
index 8058a01b285b8518d40193ee273dfc3b0af77e21..b830dc9912dc38c41dda74dcaa2b1222534605af 100644
--- a/third_party/WebKit/Source/core/events/EventFactory.h
+++ b/third_party/WebKit/Source/core/events/EventFactory.h
@@ -34,11 +34,12 @@
namespace blink {
class Event;
+class ExecutionContext;
class EventFactoryBase {
USING_FAST_MALLOC(EventFactoryBase);
public:
- virtual PassRefPtrWillBeRawPtr<Event> create(const String& eventType) = 0;
+ virtual PassRefPtrWillBeRawPtr<Event> create(ExecutionContext*, const String& eventType) = 0;
virtual ~EventFactoryBase() { }
protected:
@@ -52,7 +53,7 @@ public:
return adoptPtr(new EventFactory());
}
- PassRefPtrWillBeRawPtr<Event> create(const String& eventType) override;
+ PassRefPtrWillBeRawPtr<Event> create(ExecutionContext*, const String& eventType) override;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.idl ('k') | third_party/WebKit/Source/modules/EventModulesFactory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698