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

Unified Diff: third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridgeTest.cpp

Issue 2956583002: Removed usage of RefPtr::Release in unit tests (Closed)
Patch Set: Created 3 years, 6 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/platform/graphics/Canvas2DLayerBridgeTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridgeTest.cpp b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridgeTest.cpp
index 3d8f4d42ac78fd7f4ff02a85ee9d83a85145de3a..2ce9e625d6570cf12c5f560a571b528292d9647a 100644
--- a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridgeTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridgeTest.cpp
@@ -127,7 +127,7 @@ class Canvas2DLayerBridgeTest : public Test {
new Canvas2DLayerBridge(std::move(provider), size, 0, kNonOpaque,
acceleration_mode, CanvasColorParams()));
bridge->DontUseIdleSchedulingForTesting();
- return bridge.Release();
+ return bridge;
}
protected:

Powered by Google App Engine
This is Rietveld 408576698