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 |