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

Unified Diff: third_party/WebKit/Source/core/animation/FilterStyleInterpolation.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, 10 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/FilterStyleInterpolation.cpp
diff --git a/third_party/WebKit/Source/core/animation/FilterStyleInterpolation.cpp b/third_party/WebKit/Source/core/animation/FilterStyleInterpolation.cpp
index 29bee1030c1cc25a0ae48c5b1b81c7ca82b73c79..1634d232420ab56e27ae3994be07cc6b37097f84 100644
--- a/third_party/WebKit/Source/core/animation/FilterStyleInterpolation.cpp
+++ b/third_party/WebKit/Source/core/animation/FilterStyleInterpolation.cpp
@@ -12,9 +12,9 @@ namespace blink {
namespace {
-PassRefPtrWillBeRawPtr<CSSValueList> extendFilterList(const CSSValueList& shortFilterList, const CSSValueList& otherFilterList)
+RawPtr<CSSValueList> extendFilterList(const CSSValueList& shortFilterList, const CSSValueList& otherFilterList)
{
- RefPtrWillBeRawPtr<CSSValueList> result = CSSValueList::createSpaceSeparated();
+ RawPtr<CSSValueList> result = CSSValueList::createSpaceSeparated();
CSSValueList::const_iterator shortIter = shortFilterList.begin();
CSSValueList::const_iterator otherIter = otherFilterList.begin();
while (shortIter != shortFilterList.end()) {
@@ -24,7 +24,7 @@ PassRefPtrWillBeRawPtr<CSSValueList> extendFilterList(const CSSValueList& shortF
}
while (otherIter != otherFilterList.end()) {
CSSFunctionValue* function = toCSSFunctionValue(otherIter->get());
- RefPtrWillBeRawPtr<CSSValueList> defaultFunction = CSSFunctionValue::create(function->functionType());
+ RawPtr<CSSValueList> defaultFunction = CSSFunctionValue::create(function->functionType());
switch (function->functionType()) {
case CSSValueUrl:
// Discrete interpolation occurs - see canCreateFrom.
@@ -129,11 +129,11 @@ PassOwnPtr<InterpolableValue> FilterStyleInterpolation::toInterpolableValue(cons
return result.release();
}
-PassRefPtrWillBeRawPtr<CSSFunctionValue> FilterStyleInterpolation::fromInterpolableValue(const InterpolableValue& value, CSSValueID functionType, InterpolationRange)
+RawPtr<CSSFunctionValue> FilterStyleInterpolation::fromInterpolableValue(const InterpolableValue& value, CSSValueID functionType, InterpolationRange)
{
const InterpolableList& list = toInterpolableList(value);
size_t length = list.length();
- RefPtrWillBeRawPtr<CSSFunctionValue> result = CSSFunctionValue::create(functionType);
+ RawPtr<CSSFunctionValue> result = CSSFunctionValue::create(functionType);
for (size_t i = 0; i < length; ++i) {
switch (functionType) {
case CSSValueGrayscale:

Powered by Google App Engine
This is Rietveld 408576698