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

Unified Diff: content/renderer/history_serialization.cc

Issue 2705073003: Remove ScopedVector from content/renderer/. (Closed)
Patch Set: Rebase only Created 3 years, 10 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
« no previous file with comments | « content/renderer/history_entry.cc ('k') | content/renderer/image_downloader/image_downloader_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/history_serialization.cc
diff --git a/content/renderer/history_serialization.cc b/content/renderer/history_serialization.cc
index 1ec24ddc2106085b468bf42a825b9ba2e5a0fcaf..5746b3ab179cea4526fde8246892fc16c32a1905 100644
--- a/content/renderer/history_serialization.cc
+++ b/content/renderer/history_serialization.cc
@@ -74,7 +74,7 @@ void RecursivelyGenerateFrameState(
ToNullableString16Vector(node->item().getReferencedFilePaths(),
referenced_files);
- std::vector<HistoryEntry::HistoryNode*>& children = node->children();
+ std::vector<HistoryEntry::HistoryNode*> children = node->children();
state->children.resize(children.size());
for (size_t i = 0; i < children.size(); ++i) {
RecursivelyGenerateFrameState(children[i], &state->children[i],
« no previous file with comments | « content/renderer/history_entry.cc ('k') | content/renderer/image_downloader/image_downloader_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698