Index: Source/core/dom/MessagePort.h |
diff --git a/Source/core/dom/MessagePort.h b/Source/core/dom/MessagePort.h |
index 337e22512407462f15e6b875f8f5c7301ad41189..34773c9bc35a36ff96c7f13f2d5599681dd6bcc1 100644 |
--- a/Source/core/dom/MessagePort.h |
+++ b/Source/core/dom/MessagePort.h |
@@ -75,6 +75,7 @@ public: |
virtual const AtomicString& interfaceName() const OVERRIDE; |
virtual ScriptExecutionContext* scriptExecutionContext() const OVERRIDE; |
+ MessagePort* toMessagePort() OVERRIDE { return this; } |
void dispatchMessages(); |