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

Unified Diff: chrome/browser/tabs/pinned_tab_service_factory.cc

Issue 8491043: Allow linker initialization of lazy instance (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: thakis comment, renamed LAZY_INSTANCE_INITIALIZER Created 9 years, 1 month 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/tabs/pinned_tab_service_factory.cc
diff --git a/chrome/browser/tabs/pinned_tab_service_factory.cc b/chrome/browser/tabs/pinned_tab_service_factory.cc
index 5b2e7ac257ac4390dd1158895e13ef10a88cfc06..70407ad4083b988875916d86081368f711408380 100644
--- a/chrome/browser/tabs/pinned_tab_service_factory.cc
+++ b/chrome/browser/tabs/pinned_tab_service_factory.cc
@@ -9,8 +9,8 @@
#include "chrome/browser/profiles/profile_dependency_manager.h"
namespace {
-base::LazyInstance<PinnedTabServiceFactory> g_pinned_tab_service_factory(
- base::LINKER_INITIALIZED);
+base::LazyInstance<PinnedTabServiceFactory> g_pinned_tab_service_factory =
+ LAZY_INSTANCE_INITIALIZER;
}
// static

Powered by Google App Engine
This is Rietveld 408576698