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

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

Issue 1981823002: Remove OwnPtr::release() calls in platform/ (part 1). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/CompositorMutatorClientTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/CompositorMutatorClientTest.cpp b/third_party/WebKit/Source/platform/graphics/CompositorMutatorClientTest.cpp
index ca0f1f7b4d99962ddc52c9ce01779af265f592ed..239bdbdbb4294675c5b00d2c7412a6f0f13c0c1e 100644
--- a/third_party/WebKit/Source/platform/graphics/CompositorMutatorClientTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/CompositorMutatorClientTest.cpp
@@ -27,7 +27,7 @@ TEST(CompositorMutatorClient, CallbackForNonNullMutationsShouldApply)
CompositorMutatorClient client(&target);
OwnPtr<CompositorMutations> mutations = adoptPtr(new CompositorMutations());
- client.setMutationsForTesting(mutations.release());
+ client.setMutationsForTesting(std::move(mutations));
EXPECT_CALL(target, applyMutations(_));
client.TakeMutations().Run();

Powered by Google App Engine
This is Rietveld 408576698