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

Unified Diff: Source/modules/netinfo/NetworkInformation.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/netinfo/NetworkInformation.cpp
diff --git a/Source/modules/netinfo/NetworkInformation.cpp b/Source/modules/netinfo/NetworkInformation.cpp
index 31829421cc90873c62bdf347114ba9ff5791ea43..9b5a08f256f9224e343c4dccc55b5a773a6095e4 100644
--- a/Source/modules/netinfo/NetworkInformation.cpp
+++ b/Source/modules/netinfo/NetworkInformation.cpp
@@ -41,7 +41,7 @@ namespace blink {
NetworkInformation* NetworkInformation::create(ExecutionContext* context)
{
- NetworkInformation* connection = adoptRefCountedGarbageCollectedWillBeNoop(new NetworkInformation(context));
+ NetworkInformation* connection = new NetworkInformation(context);
connection->suspendIfNeeded();
return connection;
}

Powered by Google App Engine
This is Rietveld 408576698