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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/DictionaryHelperForCore.cpp

Issue 2554693003: Migrate WTF::Vector::append() to ::push_back() [part 1 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/bindings/core/v8/DictionaryHelperForCore.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/DictionaryHelperForCore.cpp b/third_party/WebKit/Source/bindings/core/v8/DictionaryHelperForCore.cpp
index 8ef90f614f83e10ee9adb02487824fc6924b4e68..0a60f975f2533c68861550340788ef2aa34734e5 100644
--- a/third_party/WebKit/Source/bindings/core/v8/DictionaryHelperForCore.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/DictionaryHelperForCore.cpp
@@ -276,7 +276,7 @@ CORE_EXPORT bool DictionaryHelper::get(const Dictionary& dictionary,
.ToLocal(&indexedValue))
return false;
TOSTRING_DEFAULT(V8StringResource<>, stringValue, indexedValue, false);
- value.append(stringValue);
+ value.push_back(stringValue);
}
return true;
@@ -306,7 +306,7 @@ CORE_EXPORT bool DictionaryHelper::get(const Dictionary& dictionary,
v8IndexedValue, i, dictionary.isolate(), exceptionState);
if (exceptionState.hadException())
return false;
- value.append(indexedValue);
+ value.push_back(indexedValue);
}
return true;
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/Dictionary.cpp ('k') | third_party/WebKit/Source/bindings/core/v8/Iterable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698