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

Unified Diff: chrome_frame/utils.cc

Issue 8491043: Allow linker initialization of lazy instance (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: willchan comments + rebase 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
« no previous file with comments | « chrome_frame/urlmon_moniker.cc ('k') | content/browser/browser_child_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/utils.cc
diff --git a/chrome_frame/utils.cc b/chrome_frame/utils.cc
index 7cb2b1406ce349fed0cd2afa42aed5462adf1687..f6a74b7d8a5cafa0578f2ab17d217de5a02f926b 100644
--- a/chrome_frame/utils.cc
+++ b/chrome_frame/utils.cc
@@ -110,7 +110,7 @@ namespace {
// pointer so it should not be dereferenced and used for comparison against a
// living instance only.
base::LazyInstance<base::ThreadLocalPointer<IBrowserService> >
- g_tls_browser_for_cf_navigation(base::LINKER_INITIALIZED);
+ g_tls_browser_for_cf_navigation = LAZY_INSTANCE_INITIALIZER;
} // end anonymous namespace
« no previous file with comments | « chrome_frame/urlmon_moniker.cc ('k') | content/browser/browser_child_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698