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

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

Issue 2562773002: Migrate WTF::Vector::append() to ::push_back() [part 2 of N] (Closed)
Patch Set: rebase 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/animation/EffectInputTest.cpp
diff --git a/third_party/WebKit/Source/core/animation/EffectInputTest.cpp b/third_party/WebKit/Source/core/animation/EffectInputTest.cpp
index 60189abcae09979d0fe3f48bc023b1e59e3d846e..017d5eca216571d6cb75099c8675cc4858430867 100644
--- a/third_party/WebKit/Source/core/animation/EffectInputTest.cpp
+++ b/third_party/WebKit/Source/core/animation/EffectInputTest.cpp
@@ -36,9 +36,9 @@ TEST(AnimationEffectInputTest, SortedOffsets) {
setV8ObjectPropertyAsString(scope.isolate(), keyframe2, "width", "0px");
setV8ObjectPropertyAsString(scope.isolate(), keyframe2, "offset", "1");
- jsKeyframes.append(
+ jsKeyframes.push_back(
Dictionary(scope.isolate(), keyframe1, scope.getExceptionState()));
- jsKeyframes.append(
+ jsKeyframes.push_back(
Dictionary(scope.isolate(), keyframe2, scope.getExceptionState()));
Element* element = appendElement(scope.document());
@@ -63,9 +63,9 @@ TEST(AnimationEffectInputTest, UnsortedOffsets) {
setV8ObjectPropertyAsString(scope.isolate(), keyframe2, "width", "100px");
setV8ObjectPropertyAsString(scope.isolate(), keyframe2, "offset", "0");
- jsKeyframes.append(
+ jsKeyframes.push_back(
Dictionary(scope.isolate(), keyframe1, scope.getExceptionState()));
- jsKeyframes.append(
+ jsKeyframes.push_back(
Dictionary(scope.isolate(), keyframe2, scope.getExceptionState()));
Element* element = appendElement(scope.document());
@@ -90,11 +90,11 @@ TEST(AnimationEffectInputTest, LooslySorted) {
setV8ObjectPropertyAsString(scope.isolate(), keyframe3, "width", "0px");
setV8ObjectPropertyAsString(scope.isolate(), keyframe3, "offset", "1");
- jsKeyframes.append(
+ jsKeyframes.push_back(
Dictionary(scope.isolate(), keyframe1, scope.getExceptionState()));
- jsKeyframes.append(
+ jsKeyframes.push_back(
Dictionary(scope.isolate(), keyframe2, scope.getExceptionState()));
- jsKeyframes.append(
+ jsKeyframes.push_back(
Dictionary(scope.isolate(), keyframe3, scope.getExceptionState()));
Element* element = appendElement(scope.document());
@@ -124,13 +124,13 @@ TEST(AnimationEffectInputTest, OutOfOrderWithNullOffsets) {
setV8ObjectPropertyAsString(scope.isolate(), keyframe4, "height", "300px");
setV8ObjectPropertyAsString(scope.isolate(), keyframe4, "offset", "1");
- jsKeyframes.append(
+ jsKeyframes.push_back(
Dictionary(scope.isolate(), keyframe1, scope.getExceptionState()));
- jsKeyframes.append(
+ jsKeyframes.push_back(
Dictionary(scope.isolate(), keyframe2, scope.getExceptionState()));
- jsKeyframes.append(
+ jsKeyframes.push_back(
Dictionary(scope.isolate(), keyframe3, scope.getExceptionState()));
- jsKeyframes.append(
+ jsKeyframes.push_back(
Dictionary(scope.isolate(), keyframe4, scope.getExceptionState()));
Element* element = appendElement(scope.document());
@@ -155,11 +155,11 @@ TEST(AnimationEffectInputTest, Invalid) {
setV8ObjectPropertyAsString(scope.isolate(), keyframe3, "width", "100px");
setV8ObjectPropertyAsString(scope.isolate(), keyframe3, "offset", "0");
- jsKeyframes.append(
+ jsKeyframes.push_back(
Dictionary(scope.isolate(), keyframe1, scope.getExceptionState()));
- jsKeyframes.append(
+ jsKeyframes.push_back(
Dictionary(scope.isolate(), keyframe2, scope.getExceptionState()));
- jsKeyframes.append(
+ jsKeyframes.push_back(
Dictionary(scope.isolate(), keyframe3, scope.getExceptionState()));
Element* element = appendElement(scope.document());
« no previous file with comments | « third_party/WebKit/Source/core/animation/EffectInput.cpp ('k') | third_party/WebKit/Source/core/animation/EffectStack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698