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

Unified Diff: content/browser/browsing_instance.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 | « content/browser/browser_thread_impl.cc ('k') | content/browser/debugger/devtools_client_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browsing_instance.cc
diff --git a/content/browser/browsing_instance.cc b/content/browser/browsing_instance.cc
index eec9d8d6f7bd35f3868f4bd4bb5a3e7ac124f241..6ba5a39457d404b439a4e0734cf2f6d7601d9a32 100644
--- a/content/browser/browsing_instance.cc
+++ b/content/browser/browsing_instance.cc
@@ -17,7 +17,8 @@
base::LazyInstance<
BrowsingInstance::ContextSiteInstanceMap,
base::LeakyLazyInstanceTraits<BrowsingInstance::ContextSiteInstanceMap> >
- BrowsingInstance::context_site_instance_map_(base::LINKER_INITIALIZED);
+ BrowsingInstance::context_site_instance_map_ =
+ LAZY_INSTANCE_INITIALIZER;
BrowsingInstance::BrowsingInstance(content::BrowserContext* browser_context)
: browser_context_(browser_context) {
« no previous file with comments | « content/browser/browser_thread_impl.cc ('k') | content/browser/debugger/devtools_client_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698