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

Unified Diff: third_party/WebKit/Source/core/editing/serializers/Serialization.cpp

Issue 2571953004: Migrate WTF::Vector::append() to ::push_back() [part 5 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/editing/serializers/Serialization.cpp
diff --git a/third_party/WebKit/Source/core/editing/serializers/Serialization.cpp b/third_party/WebKit/Source/core/editing/serializers/Serialization.cpp
index c91ae7830da91c647ce182dcd493d0556cfedf9c..c5d16388a126b1dcce635e01da7be270af75d289 100644
--- a/third_party/WebKit/Source/core/editing/serializers/Serialization.cpp
+++ b/third_party/WebKit/Source/core/editing/serializers/Serialization.cpp
@@ -107,7 +107,7 @@ static void completeURLs(DocumentFragment& fragment, const String& baseURL) {
// AttributeCollection::iterator end = attributes.end();
for (const auto& attribute : attributes) {
if (element.isURLAttribute(attribute) && !attribute.value().isEmpty())
- changes.append(AttributeChange(
+ changes.push_back(AttributeChange(
&element, attribute.name(),
KURL(parsedBaseURL, attribute.value()).getString()));
}

Powered by Google App Engine
This is Rietveld 408576698