Index: chrome/browser/predictors/resource_prefetch_predictor_unittest.cc |
diff --git a/chrome/browser/predictors/resource_prefetch_predictor_unittest.cc b/chrome/browser/predictors/resource_prefetch_predictor_unittest.cc |
index 91246aa664f39264202c0fb237eea752e0d85e8f..52747307a4e12df6781f2533426baa32ee8b7950 100644 |
--- a/chrome/browser/predictors/resource_prefetch_predictor_unittest.cc |
+++ b/chrome/browser/predictors/resource_prefetch_predictor_unittest.cc |
@@ -96,10 +96,8 @@ class ResourcePrefetchPredictorTest : public testing::Test { |
NavigationID CreateNavigationID(int process_id, |
int render_frame_id, |
const std::string& main_frame_url) { |
- NavigationID navigation_id; |
- navigation_id.render_process_id = process_id; |
- navigation_id.render_frame_id = render_frame_id; |
- navigation_id.main_frame_url = GURL(main_frame_url); |
+ NavigationID navigation_id(process_id, render_frame_id, |
pasko
2016/08/09 17:08:54
for consistency it would be nice to do the same in
Benoit L
2016/08/09 17:22:56
Thanks for the suggestion.
Done.
|
+ GURL(main_frame_url)); |
navigation_id.creation_time = base::TimeTicks::Now(); |
return navigation_id; |
} |