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

Unified Diff: components/history/core/browser/history_backend.cc

Issue 2781263002: Some C++11 cleanup of history types. (Closed)
Patch Set: Fix Android Created 3 years, 9 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 | « no previous file | components/history/core/browser/history_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/history/core/browser/history_backend.cc
diff --git a/components/history/core/browser/history_backend.cc b/components/history/core/browser/history_backend.cc
index cd3bffe171c067a733b6b4420cccf9bfbb9724fb..7a6d520fa3d9cbea435f6e6fc7a6178b6111e7da 100644
--- a/components/history/core/browser/history_backend.cc
+++ b/components/history/core/browser/history_backend.cc
@@ -788,7 +788,7 @@ std::pair<URLID, VisitID> HistoryBackend::AddPageVisit(
NOTREACHED() << "Adding URL failed.";
return std::make_pair(0, 0);
}
- url_info.id_ = url_id;
+ url_info.set_id(url_id);
}
// Add the visit with the time to the database.
« no previous file with comments | « no previous file | components/history/core/browser/history_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698