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

Unified Diff: Source/core/animation/ShadowStyleInterpolationTest.cpp

Issue 1120003002: [Oilpan] Migrate most classes under core/animations to Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Resize expect size of Persistent Created 5 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: Source/core/animation/ShadowStyleInterpolationTest.cpp
diff --git a/Source/core/animation/ShadowStyleInterpolationTest.cpp b/Source/core/animation/ShadowStyleInterpolationTest.cpp
index 6eca4d3e85bf38d4f137bf603ad110595602638a..af9ba1eb0e9d018aeb49861f2a0e249c070d8649 100644
--- a/Source/core/animation/ShadowStyleInterpolationTest.cpp
+++ b/Source/core/animation/ShadowStyleInterpolationTest.cpp
@@ -19,7 +19,7 @@ class AnimationShadowStyleInterpolationTest : public ::testing::Test {
protected:
- static PassOwnPtrWillBeRawPtr<InterpolableValue> shadowToInterpolableValue(const CSSValue& value, bool styleFlag)
+ static InterpolableValue* shadowToInterpolableValue(const CSSValue& value, bool styleFlag)
{
return ShadowStyleInterpolation::shadowToInterpolableValue(value, styleFlag);
}
@@ -31,7 +31,7 @@ protected:
static PassRefPtrWillBeRawPtr<CSSValue> roundTrip(PassRefPtrWillBeRawPtr<CSSValue> value, bool styleFlag)
{
- return interpolableValueToShadow(shadowToInterpolableValue(*value, styleFlag).get(), styleFlag);
+ return interpolableValueToShadow(shadowToInterpolableValue(*value, styleFlag), styleFlag);
}
static void testPrimitiveValues(RefPtrWillBeRawPtr<CSSValue> value, double xExpected, double yExpected, double blurExpected, double spreadExpected,

Powered by Google App Engine
This is Rietveld 408576698