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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp

Issue 2610383002: Migrate WTF::Vector::append() to ::push_back() [part 8 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/inspector/InspectorPageAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
index 7280fb3fb837436d36f7264e935d2b54320713af..f75a8df4027e28791a8e2ae110383ea6f2912055 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
@@ -477,7 +477,7 @@ static void cachedResourcesForDocument(Document* document,
continue;
if (cachedResource->getType() == Resource::Raw && skipXHRs)
continue;
- result.append(cachedResource);
+ result.push_back(cachedResource);
}
}
@@ -490,7 +490,7 @@ HeapVector<Member<Document>> InspectorPageAgent::importsForFrame(
if (HTMLImportsController* controller = rootDocument->importsController()) {
for (size_t i = 0; i < controller->loaderCount(); ++i) {
if (Document* document = controller->loaderAt(i)->document())
- result.append(document);
+ result.push_back(document);
}
}

Powered by Google App Engine
This is Rietveld 408576698