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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/EffectPaintPropertyNode.h

Issue 2306293002: Replaced PassRefPtr copies with moves in Source/platform. (Closed)
Patch Set: 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/platform/graphics/paint/EffectPaintPropertyNode.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/EffectPaintPropertyNode.h b/third_party/WebKit/Source/platform/graphics/paint/EffectPaintPropertyNode.h
index 9aafaea16f8000c57ea88cd1ad1d164736b30e03..8cfa13c5e1303a7ec3455f6d782ab154cfb54552 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/EffectPaintPropertyNode.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/EffectPaintPropertyNode.h
@@ -21,7 +21,7 @@ class PLATFORM_EXPORT EffectPaintPropertyNode : public RefCounted<EffectPaintPro
public:
static PassRefPtr<EffectPaintPropertyNode> create(PassRefPtr<const EffectPaintPropertyNode> parent, float opacity)
{
- return adoptRef(new EffectPaintPropertyNode(parent, opacity));
+ return adoptRef(new EffectPaintPropertyNode(std::move(parent), opacity));
}
void update(PassRefPtr<const EffectPaintPropertyNode> parent, float opacity)

Powered by Google App Engine
This is Rietveld 408576698