Index: third_party/WebKit/Source/core/dom/MessagePort.h |
diff --git a/third_party/WebKit/Source/core/dom/MessagePort.h b/third_party/WebKit/Source/core/dom/MessagePort.h |
index fb374b45a72edbc8f1b9612ba012454160fa8c14..7c4d4dc2410d08973f4180d7b6b1b627fe0b987e 100644 |
--- a/third_party/WebKit/Source/core/dom/MessagePort.h |
+++ b/third_party/WebKit/Source/core/dom/MessagePort.h |
@@ -105,7 +105,7 @@ class CORE_EXPORT MessagePort : public EventTargetWithInlineData, |
bool hasPendingActivity() const final; |
// ActiveDOMObject implementation. |
- void stop() override { close(); } |
+ void contextDestroyed() override { close(); } |
void setOnmessage(EventListener* listener) { |
setAttributeEventListener(EventTypeNames::message, listener); |