Index: Source/core/animation/LengthBoxStyleInterpolationTest.cpp |
diff --git a/Source/core/animation/LengthBoxStyleInterpolationTest.cpp b/Source/core/animation/LengthBoxStyleInterpolationTest.cpp |
index bdd844ae8b11943f7467d300483d9346559a5e5d..1672dac9bc381c9283ea2604b5bbb83b8fbd7801 100644 |
--- a/Source/core/animation/LengthBoxStyleInterpolationTest.cpp |
+++ b/Source/core/animation/LengthBoxStyleInterpolationTest.cpp |
@@ -36,15 +36,15 @@ protected: |
EXPECT_TRUE(value.isPrimitiveValue()); |
Rect* rect = toCSSPrimitiveValue(value).getRectValue(); |
- EXPECT_EQ(rect->left()->getDoubleValue(), left); |
- EXPECT_EQ(rect->right()->getDoubleValue(), right); |
- EXPECT_EQ(rect->top()->getDoubleValue(), top); |
- EXPECT_EQ(rect->bottom()->getDoubleValue(), bottom); |
- |
- EXPECT_EQ(unitType, rect->left()->primitiveType()); |
- EXPECT_EQ(unitType, rect->right()->primitiveType()); |
- EXPECT_EQ(unitType, rect->top()->primitiveType()); |
- EXPECT_EQ(unitType, rect->bottom()->primitiveType()); |
+ EXPECT_EQ(rect->left().getDoubleValue(), left); |
+ EXPECT_EQ(rect->right().getDoubleValue(), right); |
+ EXPECT_EQ(rect->top().getDoubleValue(), top); |
+ EXPECT_EQ(rect->bottom().getDoubleValue(), bottom); |
+ |
+ EXPECT_EQ(unitType, rect->left().primitiveType()); |
+ EXPECT_EQ(unitType, rect->right().primitiveType()); |
+ EXPECT_EQ(unitType, rect->top().primitiveType()); |
+ EXPECT_EQ(unitType, rect->bottom().primitiveType()); |
} |
}; |