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

Unified Diff: third_party/WebKit/Source/core/animation/CompositorAnimationsTest.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
Index: third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp
diff --git a/third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp b/third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp
index 54471a0ec15d3fea0c5c860ca6c057d8e5e181dc..3d15b50e0760467cf2eebc553e729d8a1df052d9 100644
--- a/third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp
+++ b/third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp
@@ -221,7 +221,7 @@ public:
RefPtr<AnimatableDouble> value = AnimatableDouble::create(values[i]);
frames->append(createReplaceOpKeyframe(CSSPropertyOpacity, value.get(), offset).get());
}
- return frames.release();
+ return frames;
}
PassOwnPtr<AnimatableValueKeyframeVector> createCompositableTransformKeyframeVector(const Vector<TransformOperations>& values)
@@ -232,7 +232,7 @@ public:
RefPtr<AnimatableTransform> value = AnimatableTransform::create(values[i], 1);
frames->append(createReplaceOpKeyframe(CSSPropertyTransform, value.get(), offset).get());
}
- return frames.release();
+ return frames;
}
AnimatableValueKeyframeEffectModel* createKeyframeEffectModel(PassRefPtr<AnimatableValueKeyframe> prpFrom, PassRefPtr<AnimatableValueKeyframe> prpTo, PassRefPtr<AnimatableValueKeyframe> prpC = nullptr, PassRefPtr<AnimatableValueKeyframe> prpD = nullptr)

Powered by Google App Engine
This is Rietveld 408576698