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

Unified Diff: third_party/WebKit/Source/platform/mhtml/MHTMLParser.cpp

Issue 2615813003: Migrate WTF::Vector::append() to ::push_back() [part 14 of N] (Closed)
Patch Set: rebase, small fix in FontSettings.h Created 3 years, 11 months 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/platform/mhtml/MHTMLParser.cpp
diff --git a/third_party/WebKit/Source/platform/mhtml/MHTMLParser.cpp b/third_party/WebKit/Source/platform/mhtml/MHTMLParser.cpp
index 8df5689eb0482d03d3599dc3b3fbcae8b9d55e1b..32b8b166904655dfb8981ce960572199655bba76 100644
--- a/third_party/WebKit/Source/platform/mhtml/MHTMLParser.cpp
+++ b/third_party/WebKit/Source/platform/mhtml/MHTMLParser.cpp
@@ -226,7 +226,7 @@ bool MHTMLParser::parseArchiveWithHeader(
parseNextPart(*header, String(), String(), endOfArchiveReached);
if (!resource)
return false;
- resources.append(resource);
+ resources.push_back(resource);
return true;
}
@@ -258,7 +258,7 @@ bool MHTMLParser::parseArchiveWithHeader(
DVLOG(1) << "Failed to parse MHTML part.";
return false;
}
- resources.append(resource);
+ resources.push_back(resource);
}
return true;
}

Powered by Google App Engine
This is Rietveld 408576698