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

Unified Diff: third_party/WebKit/Source/platform/graphics/CompositorMutatorClient.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/CompositorMutatorClient.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/CompositorMutatorClient.cpp b/third_party/WebKit/Source/platform/graphics/CompositorMutatorClient.cpp
index e44c9984dcbcbb2bc55c9af9e602109fd95ac32f..d072e0bf3f1d4c235a4a967d3c67c7118cc84b2e 100644
--- a/third_party/WebKit/Source/platform/graphics/CompositorMutatorClient.cpp
+++ b/third_party/WebKit/Source/platform/graphics/CompositorMutatorClient.cpp
@@ -32,7 +32,7 @@ base::Closure CompositorMutatorClient::TakeMutations()
return base::Bind(&CompositorMutationsTarget::applyMutations,
base::Unretained(m_mutationsTarget),
- base::Owned(m_mutations.release().leakPtr()));
+ base::Owned(m_mutations.leakPtr()));
}
void CompositorMutatorClient::setMutationsForTesting(PassOwnPtr<CompositorMutations> mutations)

Powered by Google App Engine
This is Rietveld 408576698