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

Unified Diff: chrome_frame/urlmon_moniker.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_frame/urlmon_moniker.cc
diff --git a/chrome_frame/urlmon_moniker.cc b/chrome_frame/urlmon_moniker.cc
index 0f5ea5a197ce2ec89a4b329d7ef8d4741d95f543..753d265e5c6b5d0c79f614cca7c052bcdbb1e11a 100644
--- a/chrome_frame/urlmon_moniker.cc
+++ b/chrome_frame/urlmon_moniker.cc
@@ -23,7 +23,7 @@ static const int kMonikerBindToObject = 8;
static const int kMonikerBindToStorage = kMonikerBindToObject + 1;
base::LazyInstance<base::ThreadLocalPointer<NavigationManager> >
- NavigationManager::thread_singleton_(base::LINKER_INITIALIZED);
+ NavigationManager::thread_singleton_ = LAZY_INSTANCE_INITIALIZER;
BEGIN_VTABLE_PATCHES(IMoniker)
VTABLE_PATCH_ENTRY(kMonikerBindToObject, MonikerPatch::BindToObject)

Powered by Google App Engine
This is Rietveld 408576698