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

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

Issue 2761693002: Wrapped PassRefPtrs in move where passed to RefPtr constructor. (Closed)
Patch Set: Added move wraps for multiple instances in 1 line. Created 3 years, 9 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 685aa3c5a30282db574518680100cb5fba3ef4eb..15235613dc1a3c0ec77f43561c7cab95cb47823e 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/EffectPaintPropertyNode.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/EffectPaintPropertyNode.h
@@ -151,9 +151,9 @@ class PLATFORM_EXPORT EffectPaintPropertyNode
CompositingReasons directCompositingReasons,
CompositorElementId compositorElementId,
const FloatPoint& paintOffset)
- : m_parent(parent),
- m_localTransformSpace(localTransformSpace),
- m_outputClip(outputClip),
+ : m_parent(std::move(parent)),
+ m_localTransformSpace(std::move(localTransformSpace)),
+ m_outputClip(std::move(outputClip)),
m_colorFilter(colorFilter),
m_filter(std::move(filter)),
m_opacity(opacity),

Powered by Google App Engine
This is Rietveld 408576698