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

Unified Diff: third_party/WebKit/Source/core/svg/SVGFEDiffuseLightingElement.cpp

Issue 2622043003: Replaced RefPtr::release with std::move in Source/core. (Closed)
Patch Set: Created 3 years, 11 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/svg/SVGFEDiffuseLightingElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGFEDiffuseLightingElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEDiffuseLightingElement.cpp
index 1ff992cbfc6d59baf1da46fb214934cc027d4d69..1ccd419b4517b1fa1b94e96f8053f632f1cde6b4 100644
--- a/third_party/WebKit/Source/core/svg/SVGFEDiffuseLightingElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFEDiffuseLightingElement.cpp
@@ -160,7 +160,7 @@ FilterEffect* SVGFEDiffuseLightingElement::build(
FilterEffect* effect = FEDiffuseLighting::create(
filter, color, m_surfaceScale->currentValue()->value(),
- m_diffuseConstant->currentValue()->value(), lightSource.release());
+ m_diffuseConstant->currentValue()->value(), std::move(lightSource));
effect->inputEffects().push_back(input1);
return effect;
}

Powered by Google App Engine
This is Rietveld 408576698