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

Unified Diff: chrome/browser/metrics/histogram_synchronizer.cc

Issue 9572036: Convert uses of int ms to TimeDelta in chrome/browser and net. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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
Index: chrome/browser/metrics/histogram_synchronizer.cc
diff --git a/chrome/browser/metrics/histogram_synchronizer.cc b/chrome/browser/metrics/histogram_synchronizer.cc
index 6e4706fe1aff45ee21bfad886da777061c6ce772..45587864dabc6105abc6f35fac86fffb1b7368b5 100644
--- a/chrome/browser/metrics/histogram_synchronizer.cc
+++ b/chrome/browser/metrics/histogram_synchronizer.cc
@@ -105,7 +105,7 @@ void HistogramSynchronizer::FetchRendererHistogramsAsynchronously(
&HistogramSynchronizer::ForceHistogramSynchronizationDoneCallback,
current_synchronizer,
sequence_number),
- wait_time);
+ base::TimeDelta::FromMilliseconds(wait_time));
}
// static

Powered by Google App Engine
This is Rietveld 408576698