diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/dom/MessageChannel.h')
-rw-r--r-- | chromium/third_party/WebKit/Source/core/dom/MessageChannel.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/third_party/WebKit/Source/core/dom/MessageChannel.h b/chromium/third_party/WebKit/Source/core/dom/MessageChannel.h index 507825b29cd..5b1dc49a04f 100644 --- a/chromium/third_party/WebKit/Source/core/dom/MessageChannel.h +++ b/chromium/third_party/WebKit/Source/core/dom/MessageChannel.h @@ -35,18 +35,18 @@ namespace WebCore { class MessagePort; -class ScriptExecutionContext; +class ExecutionContext; class MessageChannel : public RefCounted<MessageChannel>, public ScriptWrappable { public: - static PassRefPtr<MessageChannel> create(ScriptExecutionContext* context) { return adoptRef(new MessageChannel(context)); } + static PassRefPtr<MessageChannel> create(ExecutionContext* context) { return adoptRef(new MessageChannel(context)); } ~MessageChannel(); MessagePort* port1() const { return m_port1.get(); } MessagePort* port2() const { return m_port2.get(); } private: - explicit MessageChannel(ScriptExecutionContext*); + explicit MessageChannel(ExecutionContext*); RefPtr<MessagePort> m_port1; RefPtr<MessagePort> m_port2; |