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

Unified Diff: third_party/WebKit/Source/core/dom/MessagePort.h

Issue 2366253002: Remove ActiveDOMObject::stop() (Closed)
Patch Set: temp Created 4 years, 2 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/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);

Powered by Google App Engine
This is Rietveld 408576698