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

Unified Diff: third_party/WebKit/Source/core/css/resolver/FilterOperationResolver.cpp

Issue 2566403003: Migrate WTF::Vector::append() to ::push_back() [part 3 of N] (Closed)
Patch Set: Created 4 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
Index: third_party/WebKit/Source/core/css/resolver/FilterOperationResolver.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/FilterOperationResolver.cpp b/third_party/WebKit/Source/core/css/resolver/FilterOperationResolver.cpp
index 6ac699796981b0e6edd8f111ba41b2c62cdfb1a5..c7dde59b21da6ba0d31ee5eca23aafdafd310dbc 100644
--- a/third_party/WebKit/Source/core/css/resolver/FilterOperationResolver.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/FilterOperationResolver.cpp
@@ -135,7 +135,7 @@ FilterOperations FilterOperationResolver::createFilterOperations(
const CSSURIValue& urlValue = toCSSURIValue(*currValue);
SVGElementProxy& elementProxy =
state.elementStyleResources().cachedOrPendingFromValue(urlValue);
- operations.operations().append(
+ operations.operations().push_back(
ReferenceFilterOperation::create(urlValue.value(), elementProxy));
continue;
}
@@ -161,7 +161,7 @@ FilterOperations FilterOperationResolver::createFilterOperations(
amount /= 100;
}
- operations.operations().append(
+ operations.operations().push_back(
BasicColorMatrixFilterOperation::create(amount, operationType));
break;
}
@@ -170,7 +170,7 @@ FilterOperations FilterOperationResolver::createFilterOperations(
if (filterValue->length() == 1)
angle = firstValue->computeDegrees();
- operations.operations().append(
+ operations.operations().push_back(
BasicColorMatrixFilterOperation::create(angle, operationType));
break;
}
@@ -186,7 +186,7 @@ FilterOperations FilterOperationResolver::createFilterOperations(
amount /= 100;
}
- operations.operations().append(
+ operations.operations().push_back(
BasicComponentTransferFilterOperation::create(amount,
operationType));
break;
@@ -195,7 +195,7 @@ FilterOperations FilterOperationResolver::createFilterOperations(
Length stdDeviation = Length(0, Fixed);
if (filterValue->length() >= 1)
stdDeviation = firstValue->convertToLength(conversionData);
- operations.operations().append(
+ operations.operations().push_back(
BlurFilterOperation::create(stdDeviation));
break;
}
@@ -210,7 +210,7 @@ FilterOperations FilterOperationResolver::createFilterOperations(
shadowColor = state.document().textLinkColors().colorFromCSSValue(
*item.color, state.style()->color());
- operations.operations().append(
+ operations.operations().push_back(
DropShadowFilterOperation::create(location, blur, shadowColor));
break;
}

Powered by Google App Engine
This is Rietveld 408576698