| Index: third_party/WebKit/Source/platform/graphics/filters/FESpecularLighting.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/filters/FESpecularLighting.cpp b/third_party/WebKit/Source/platform/graphics/filters/FESpecularLighting.cpp
|
| index 5940eb167ebbe3c58fcc68987b0b8ac7a88c7261..33220586290f84513216e184d2033f2c0fa4ab59 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/filters/FESpecularLighting.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/filters/FESpecularLighting.cpp
|
| @@ -31,7 +31,7 @@ namespace blink {
|
|
|
| FESpecularLighting::FESpecularLighting(Filter* filter, const Color& lightingColor, float surfaceScale,
|
| float specularConstant, float specularExponent, PassRefPtr<LightSource> lightSource)
|
| - : FELighting(filter, SpecularLighting, lightingColor, surfaceScale, 0, specularConstant, specularExponent, lightSource)
|
| + : FELighting(filter, SpecularLighting, lightingColor, surfaceScale, 0, specularConstant, specularExponent, std::move(lightSource))
|
| {
|
| }
|
|
|
| @@ -39,7 +39,7 @@ FESpecularLighting* FESpecularLighting::create(Filter* filter, const Color& ligh
|
| float surfaceScale, float specularConstant, float specularExponent, PassRefPtr<LightSource> lightSource)
|
| {
|
| return new FESpecularLighting(filter, lightingColor, surfaceScale, specularConstant, specularExponent,
|
| - lightSource);
|
| + std::move(lightSource));
|
| }
|
|
|
| FESpecularLighting::~FESpecularLighting()
|
|
|