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

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

Issue 796303003: Oilpan: fix build after r186996. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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 | « Source/core/animation/LengthBoxStyleInterpolation.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/LengthBoxStyleInterpolationTest.cpp
diff --git a/Source/core/animation/LengthBoxStyleInterpolationTest.cpp b/Source/core/animation/LengthBoxStyleInterpolationTest.cpp
index 4bf5c71b77098e70d27bea747707f00d70d392bf..28497c270d15fea03c4a20fec8b79f53211b70ed 100644
--- a/Source/core/animation/LengthBoxStyleInterpolationTest.cpp
+++ b/Source/core/animation/LengthBoxStyleInterpolationTest.cpp
@@ -10,8 +10,6 @@
#include "core/css/Rect.h"
#include "core/css/StylePropertySet.h"
-#include "stdio.h"
-
#include <gtest/gtest.h>
namespace blink {
@@ -52,7 +50,7 @@ protected:
TEST_F(AnimationLengthBoxStyleInterpolationTest, ZeroLengthBox)
{
- RefPtr<Rect> rectPx = Rect::create();
+ RefPtrWillBeRawPtr<Rect> rectPx = Rect::create();
rectPx->setLeft(CSSPrimitiveValue::create(0, CSSPrimitiveValue::CSS_PX));
rectPx->setRight(CSSPrimitiveValue::create(0, CSSPrimitiveValue::CSS_PX));
rectPx->setTop(CSSPrimitiveValue::create(0, CSSPrimitiveValue::CSS_PX));
@@ -60,7 +58,7 @@ TEST_F(AnimationLengthBoxStyleInterpolationTest, ZeroLengthBox)
RefPtrWillBeRawPtr<CSSValue> value = roundTrip(CSSPrimitiveValue::create(rectPx.release()));
testPrimitiveValue(value, 0, 0, 0, 0, CSSPrimitiveValue::CSS_PX);
- RefPtr<Rect> rectEms = Rect::create();
+ RefPtrWillBeRawPtr<Rect> rectEms = Rect::create();
rectEms->setLeft(CSSPrimitiveValue::create(0, CSSPrimitiveValue::CSS_EMS));
rectEms->setRight(CSSPrimitiveValue::create(0, CSSPrimitiveValue::CSS_EMS));
rectEms->setTop(CSSPrimitiveValue::create(0, CSSPrimitiveValue::CSS_EMS));
@@ -72,7 +70,7 @@ TEST_F(AnimationLengthBoxStyleInterpolationTest, ZeroLengthBox)
TEST_F(AnimationLengthBoxStyleInterpolationTest, SingleUnitBox)
{
- RefPtr<Rect> rectPx = Rect::create();
+ RefPtrWillBeRawPtr<Rect> rectPx = Rect::create();
rectPx->setLeft(CSSPrimitiveValue::create(10, CSSPrimitiveValue::CSS_PX));
rectPx->setRight(CSSPrimitiveValue::create(10, CSSPrimitiveValue::CSS_PX));
rectPx->setTop(CSSPrimitiveValue::create(10, CSSPrimitiveValue::CSS_PX));
@@ -81,7 +79,7 @@ TEST_F(AnimationLengthBoxStyleInterpolationTest, SingleUnitBox)
RefPtrWillBeRawPtr<CSSValue> value = roundTrip(CSSPrimitiveValue::create(rectPx.release()));
testPrimitiveValue(value, 10, 10, 10, 10, CSSPrimitiveValue::CSS_PX);
- RefPtr<Rect> rectPer = Rect::create();
+ RefPtrWillBeRawPtr<Rect> rectPer = Rect::create();
rectPer->setLeft(CSSPrimitiveValue::create(30, CSSPrimitiveValue::CSS_PERCENTAGE));
rectPer->setRight(CSSPrimitiveValue::create(30, CSSPrimitiveValue::CSS_PERCENTAGE));
rectPer->setTop(CSSPrimitiveValue::create(30, CSSPrimitiveValue::CSS_PERCENTAGE));
@@ -90,7 +88,7 @@ TEST_F(AnimationLengthBoxStyleInterpolationTest, SingleUnitBox)
value = roundTrip(CSSPrimitiveValue::create(rectPer.release()));
testPrimitiveValue(value, 30, 30, 30, 30, CSSPrimitiveValue::CSS_PERCENTAGE);
- RefPtr<Rect> rectEms = Rect::create();
+ RefPtrWillBeRawPtr<Rect> rectEms = Rect::create();
rectEms->setLeft(CSSPrimitiveValue::create(-10, CSSPrimitiveValue::CSS_EMS));
rectEms->setRight(CSSPrimitiveValue::create(-10, CSSPrimitiveValue::CSS_EMS));
rectEms->setTop(CSSPrimitiveValue::create(-10, CSSPrimitiveValue::CSS_EMS));
@@ -102,7 +100,7 @@ TEST_F(AnimationLengthBoxStyleInterpolationTest, SingleUnitBox)
TEST_F(AnimationLengthBoxStyleInterpolationTest, MultipleValues)
{
- RefPtr<Rect> rectPx = Rect::create();
+ RefPtrWillBeRawPtr<Rect> rectPx = Rect::create();
rectPx->setLeft(CSSPrimitiveValue::create(10, CSSPrimitiveValue::CSS_PX));
rectPx->setRight(CSSPrimitiveValue::create(0, CSSPrimitiveValue::CSS_PX));
rectPx->setTop(CSSPrimitiveValue::create(20, CSSPrimitiveValue::CSS_PX));
@@ -111,7 +109,7 @@ TEST_F(AnimationLengthBoxStyleInterpolationTest, MultipleValues)
RefPtrWillBeRawPtr<CSSValue> value = roundTrip(CSSPrimitiveValue::create(rectPx.release()));
testPrimitiveValue(value, 10, 0, 20, 40, CSSPrimitiveValue::CSS_PX);
- RefPtr<Rect> rectPer = Rect::create();
+ RefPtrWillBeRawPtr<Rect> rectPer = Rect::create();
rectPer->setLeft(CSSPrimitiveValue::create(30, CSSPrimitiveValue::CSS_PERCENTAGE));
rectPer->setRight(CSSPrimitiveValue::create(-30, CSSPrimitiveValue::CSS_PERCENTAGE));
rectPer->setTop(CSSPrimitiveValue::create(30, CSSPrimitiveValue::CSS_PERCENTAGE));
« no previous file with comments | « Source/core/animation/LengthBoxStyleInterpolation.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698