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

Unified Diff: Source/modules/websockets/DOMWebSocket.cpp

Issue 614373007: Oilpan: Remove adoptRefCountedGarbageCollected (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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: Source/modules/websockets/DOMWebSocket.cpp
diff --git a/Source/modules/websockets/DOMWebSocket.cpp b/Source/modules/websockets/DOMWebSocket.cpp
index 192a7aac1bd98a21990761fd303c9bf8a282b268..fcff0b502e7c6af0ca5cbf394f09e5082ebe9804 100644
--- a/Source/modules/websockets/DOMWebSocket.cpp
+++ b/Source/modules/websockets/DOMWebSocket.cpp
@@ -260,7 +260,7 @@ DOMWebSocket* DOMWebSocket::create(ExecutionContext* context, const String& url,
return nullptr;
}
- DOMWebSocket* webSocket(adoptRefCountedGarbageCollectedWillBeNoop(new DOMWebSocket(context)));
+ DOMWebSocket* webSocket = new DOMWebSocket(context);
webSocket->suspendIfNeeded();
webSocket->connect(url, protocols, exceptionState);

Powered by Google App Engine
This is Rietveld 408576698