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

Unified Diff: third_party/WebKit/Source/core/animation/ListStyleInterpolationTest.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/ListStyleInterpolationTest.cpp
diff --git a/third_party/WebKit/Source/core/animation/ListStyleInterpolationTest.cpp b/third_party/WebKit/Source/core/animation/ListStyleInterpolationTest.cpp
index 8170203e990b2fc4209405f7cccd4ddb7aab3582..6ef3c0fde13ebf62b12172bba35e5f902cecba43 100644
--- a/third_party/WebKit/Source/core/animation/ListStyleInterpolationTest.cpp
+++ b/third_party/WebKit/Source/core/animation/ListStyleInterpolationTest.cpp
@@ -12,13 +12,13 @@ namespace blink {
class ListStyleInterpolationTest : public ::testing::Test {
protected:
- static PassRefPtrWillBeRawPtr<CSSValue> lengthRoundTrip(PassRefPtrWillBeRawPtr<CSSValue> value, InterpolationRange range)
+ static RawPtr<CSSValue> lengthRoundTrip(RawPtr<CSSValue> value, InterpolationRange range)
{
return ListStyleInterpolationImpl<LengthStyleInterpolation, void>::interpolableValueToList(
ListStyleInterpolationImpl<LengthStyleInterpolation, void>::listToInterpolableValue(*value).get(), range);
}
- static void compareLengthLists(PassRefPtrWillBeRawPtr<CSSValueList> expectedList, PassRefPtrWillBeRawPtr<CSSValue> actualList)
+ static void compareLengthLists(RawPtr<CSSValueList> expectedList, RawPtr<CSSValue> actualList)
{
ASSERT(actualList->isValueList());
@@ -36,9 +36,9 @@ protected:
TEST_F(ListStyleInterpolationTest, LengthListMultipleValuesTest)
{
- RefPtrWillBeRawPtr<CSSValueList> expectedList = CSSValueList::createCommaSeparated();
+ RawPtr<CSSValueList> expectedList = CSSValueList::createCommaSeparated();
for (size_t i = 0; i < 10; i++) {
- RefPtrWillBeRawPtr<CSSPrimitiveValue> lengthValue = CSSPrimitiveValue::create(static_cast<double>(i), CSSPrimitiveValue::UnitType::Pixels);
+ RawPtr<CSSPrimitiveValue> lengthValue = CSSPrimitiveValue::create(static_cast<double>(i), CSSPrimitiveValue::UnitType::Pixels);
expectedList->append(lengthValue);
}

Powered by Google App Engine
This is Rietveld 408576698