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

Unified Diff: third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.cpp

Issue 2614833005: Migrate WTF::Vector::append() to ::push_back() [part 10 of N] (Closed)
Patch Set: 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/core/loader/appcache/ApplicationCacheHost.cpp
diff --git a/third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.cpp b/third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.cpp
index c93a1e2c3853a9c17441842b82a0f6fc177b6aab..fa601fdc85b9357429335a43d04bfa9cbe703778 100644
--- a/third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.cpp
+++ b/third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.cpp
@@ -206,9 +206,9 @@ void ApplicationCacheHost::notifyApplicationCache(
if (m_defersEvents) {
// Event dispatching is deferred until document.onload has fired.
- m_deferredEvents.append(DeferredEvent(id, progressTotal, progressDone,
- errorReason, errorURL, errorStatus,
- errorMessage));
+ m_deferredEvents.push_back(DeferredEvent(id, progressTotal, progressDone,
+ errorReason, errorURL, errorStatus,
+ errorMessage));
return;
}
dispatchDOMEvent(id, progressTotal, progressDone, errorReason, errorURL,
@@ -232,7 +232,7 @@ void ApplicationCacheHost::fillResourceList(ResourceInfoList* resources) {
WebVector<WebApplicationCacheHost::ResourceInfo> webResources;
m_host->getResourceList(&webResources);
for (size_t i = 0; i < webResources.size(); ++i) {
- resources->append(
+ resources->push_back(
ResourceInfo(webResources[i].url, webResources[i].isMaster,
webResources[i].isManifest, webResources[i].isFallback,
webResources[i].isForeign, webResources[i].isExplicit,

Powered by Google App Engine
This is Rietveld 408576698