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

Unified Diff: third_party/WebKit/Source/core/dom/Document.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/dom/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index db364c0c530711f88a4f5d61feb87f0b879d7657..defde87048fee1e57c96c7c5ca6e2ed3f8c63f29 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -662,7 +662,7 @@ public:
EventListener* getWindowAttributeEventListener(const AtomicString& eventType);
static void registerEventFactory(PassOwnPtr<EventFactoryBase>);
- static PassRefPtrWillBeRawPtr<Event> createEvent(const String& eventType, ExceptionState&);
+ static PassRefPtrWillBeRawPtr<Event> createEvent(ExecutionContext*, const String& eventType, ExceptionState&);
// keep track of what types of event listeners are registered, so we don't
// dispatch events unnecessarily

Powered by Google App Engine
This is Rietveld 408576698