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

Unified Diff: third_party/WebKit/Source/core/animation/EffectInput.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/EffectInput.cpp
diff --git a/third_party/WebKit/Source/core/animation/EffectInput.cpp b/third_party/WebKit/Source/core/animation/EffectInput.cpp
index 2439e934c87b4170fe620d6c8c5f4422d20732cb..5109041b294b815486a21a29bbbd20ef36b84e00 100644
--- a/third_party/WebKit/Source/core/animation/EffectInput.cpp
+++ b/third_party/WebKit/Source/core/animation/EffectInput.cpp
@@ -165,7 +165,7 @@ bool exhaustDictionaryIterator(DictionaryIterator& iterator,
exceptionState.throwTypeError("Keyframes must be objects.");
return false;
}
- result.append(dictionary);
+ result.push_back(dictionary);
}
return !exceptionState.hadException();
}
@@ -265,7 +265,7 @@ EffectModel* EffectInput::convertArrayForm(
setKeyframeValue(element, *keyframe.get(), property, value,
executionContext);
}
- keyframes.append(keyframe);
+ keyframes.push_back(keyframe);
}
DCHECK(!exceptionState.hadException());
@@ -291,7 +291,7 @@ static bool getPropertyIndexedKeyframeValues(
// Non-object.
String value;
DictionaryHelper::get(keyframeDictionary, property, value);
- result.append(value);
+ result.push_back(value);
return true;
}
@@ -300,7 +300,7 @@ static bool getPropertyIndexedKeyframeValues(
// Non-iterable object.
String value;
DictionaryHelper::get(keyframeDictionary, property, value);
- result.append(value);
+ result.push_back(value);
return true;
}
@@ -311,7 +311,7 @@ static bool getPropertyIndexedKeyframeValues(
exceptionState.throwTypeError("Unable to read keyframe value as string.");
return false;
}
- result.append(value);
+ result.push_back(value);
}
return !exceptionState.hadException();
}
@@ -379,7 +379,7 @@ EffectModel* EffectInput::convertObjectForm(
setKeyframeValue(element, *keyframe.get(), property, values[i],
executionContext);
- keyframes.append(keyframe);
+ keyframes.push_back(keyframe);
}
}

Powered by Google App Engine
This is Rietveld 408576698