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

Unified Diff: third_party/WebKit/Source/core/svg/SVGFESpecularLightingElement.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/SVGFESpecularLightingElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGFESpecularLightingElement.cpp b/third_party/WebKit/Source/core/svg/SVGFESpecularLightingElement.cpp
index 838c412ff4ba3f04f8c88f4a2e4322c4c0f844ba..34897d25255c3662dc832b963c69fbeba41f83c5 100644
--- a/third_party/WebKit/Source/core/svg/SVGFESpecularLightingElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFESpecularLightingElement.cpp
@@ -174,7 +174,7 @@ FilterEffect* SVGFESpecularLightingElement::build(
FilterEffect* effect = FESpecularLighting::create(
filter, color, m_surfaceScale->currentValue()->value(),
m_specularConstant->currentValue()->value(),
- m_specularExponent->currentValue()->value(), lightSource.release());
+ m_specularExponent->currentValue()->value(), std::move(lightSource));
effect->inputEffects().push_back(input1);
return effect;
}

Powered by Google App Engine
This is Rietveld 408576698