Index: chrome/browser/autocomplete/autocomplete.cc |
=================================================================== |
--- chrome/browser/autocomplete/autocomplete.cc (revision 80382) |
+++ chrome/browser/autocomplete/autocomplete.cc (working copy) |
@@ -863,7 +863,7 @@ |
if (matches_requested == AutocompleteInput::ALL_MATCHES && text.size() < 6) { |
base::TimeTicks end_time = base::TimeTicks::Now(); |
std::string name = "Omnibox.QueryTime." + base::IntToString(text.size()); |
- scoped_refptr<base::Histogram> counter = base::Histogram::FactoryGet( |
+ base::Histogram* counter = base::Histogram::FactoryGet( |
name, 1, 1000, 50, base::Histogram::kUmaTargetedHistogramFlag); |
counter->Add(static_cast<int>((end_time - start_time).InMilliseconds())); |
} |