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

Unified Diff: third_party/WebKit/Source/core/style/ClipPathOperation.h

Issue 2282413002: Replaced PassRefPtr copies with moves in Source/core. (Closed)
Patch Set: rebased Created 4 years, 3 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/core/style/ClipPathOperation.h
diff --git a/third_party/WebKit/Source/core/style/ClipPathOperation.h b/third_party/WebKit/Source/core/style/ClipPathOperation.h
index 6edf717e4df4ab6b45f187e42ce0e8d5c53f1ad9..8d1f18a9fbf9e40d369362fc0cd926553cae94e9 100644
--- a/third_party/WebKit/Source/core/style/ClipPathOperation.h
+++ b/third_party/WebKit/Source/core/style/ClipPathOperation.h
@@ -96,7 +96,7 @@ class ShapeClipPathOperation final : public ClipPathOperation {
public:
static PassRefPtr<ShapeClipPathOperation> create(PassRefPtr<BasicShape> shape)
{
- return adoptRef(new ShapeClipPathOperation(shape));
+ return adoptRef(new ShapeClipPathOperation(std::move(shape)));
}
const BasicShape* basicShape() const { return m_shape.get(); }
« no previous file with comments | « third_party/WebKit/Source/core/loader/WorkerThreadableLoader.cpp ('k') | third_party/WebKit/Source/core/style/ComputedStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698