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

Unified Diff: third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.cpp

Issue 2570463005: Retire ThreadState::registerPreFinalizer<T>() (Closed)
Patch Set: Created 4 years 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/modules/broadcastchannel/BroadcastChannel.cpp
diff --git a/third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.cpp b/third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.cpp
index 87e31d768b5fd17ba8f4482799c2da2e548a4afe..84688716cf5da7a28cc97b2a0d23d90b082ae606 100644
--- a/third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.cpp
+++ b/third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.cpp
@@ -130,8 +130,6 @@ BroadcastChannel::BroadcastChannel(ExecutionContext* executionContext,
m_origin(executionContext->getSecurityOrigin()),
m_name(name),
m_binding(this) {
- ThreadState::current()->registerPreFinalizer(this);
-
mojom::blink::BroadcastChannelProviderPtr& provider =
getThreadSpecificProvider();

Powered by Google App Engine
This is Rietveld 408576698