Chromium Code Reviews| Index: content/browser/plugin_loader_posix.cc |
| diff --git a/content/browser/plugin_loader_posix.cc b/content/browser/plugin_loader_posix.cc |
| index 7b278811343c3360f36bbdb5593cef62a8df1296..878c92df7a9edd48740e8c84396208ab3c34c2bf 100644 |
| --- a/content/browser/plugin_loader_posix.cc |
| +++ b/content/browser/plugin_loader_posix.cc |
| @@ -110,9 +110,9 @@ void PluginLoaderPosix::GetPluginsToLoad() { |
| base::Bind(&PluginLoaderPosix::LoadPluginsInternal, |
| make_scoped_refptr(this))); |
| - HISTOGRAM_TIMES("PluginLoaderPosix.GetPluginList", |
| - (base::TimeTicks::Now() - start_time) * |
| - base::Time::kMicrosecondsPerMillisecond); |
| + LOCAL_HISTOGRAM_TIMES("PluginLoaderPosix.GetPluginList", |
| + (base::TimeTicks::Now() - start_time) * |
| + base::Time::kMicrosecondsPerMillisecond); |
| } |
| void PluginLoaderPosix::LoadPluginsInternal() { |
| @@ -209,9 +209,9 @@ bool PluginLoaderPosix::MaybeRunPendingCallbacks() { |
| } |
| callbacks_.clear(); |
| - HISTOGRAM_TIMES("PluginLoaderPosix.LoadDone", |
| - (base::TimeTicks::Now() - load_start_time_) |
| - * base::Time::kMicrosecondsPerMillisecond); |
| + LOCAL_HISTOGRAM_TIMES("PluginLoaderPosix.LoadDone", |
| + (base::TimeTicks::Now() - load_start_time_) |
| + * base::Time::kMicrosecondsPerMillisecond); |
|
Ilya Sherman
2014/08/26 00:23:28
nit: Looks like this line should be indented four
Alexei Svitkine (slow)
2014/08/26 00:54:01
Done. Also put the "*" up on the line above for co
|
| load_start_time_ = base::TimeTicks(); |
| return true; |