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

Unified Diff: chrome/renderer/renderer_main.cc

Issue 6780035: Use lock-free lazy initialization for static histogram references (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
Index: chrome/renderer/renderer_main.cc
===================================================================
--- chrome/renderer/renderer_main.cc (revision 79771)
+++ chrome/renderer/renderer_main.cc (working copy)
@@ -199,7 +199,7 @@
private:
base::TimeTicks begin_process_message_;
- scoped_refptr<base::Histogram> process_times_;
+ base::Histogram* const process_times_;
DISALLOW_COPY_AND_ASSIGN(RendererMessageLoopObserver);
};

Powered by Google App Engine
This is Rietveld 408576698