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

Unified Diff: third_party/WebKit/Source/core/animation/animatable/AnimatablePath.cpp

Issue 1977763002: Remove OwnPtr::release() calls in core/ (part 1). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove static_pointer_cast<>s. Created 4 years, 7 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
« no previous file with comments | « third_party/WebKit/Source/core/animation/TypedInterpolationValue.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/animation/animatable/AnimatablePath.cpp
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatablePath.cpp b/third_party/WebKit/Source/core/animation/animatable/AnimatablePath.cpp
index 326ee898248971019bef8c3d2c5902f0608abab4..deb2889bb8db976e596dd4cfcf48b7f1bf4fc45f 100644
--- a/third_party/WebKit/Source/core/animation/animatable/AnimatablePath.cpp
+++ b/third_party/WebKit/Source/core/animation/animatable/AnimatablePath.cpp
@@ -52,7 +52,7 @@ PassRefPtr<AnimatableValue> AnimatablePath::interpolateTo(const AnimatableValue*
SVGPathBlender blender(&fromSource, &toSource, &builder);
bool ok = blender.blendAnimatedPath(fraction);
ASSERT_UNUSED(ok, ok);
- return AnimatablePath::create(StylePath::create(byteStream.release()));
+ return AnimatablePath::create(StylePath::create(std::move(byteStream)));
}
bool AnimatablePath::equalTo(const AnimatableValue* value) const
« no previous file with comments | « third_party/WebKit/Source/core/animation/TypedInterpolationValue.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698