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

Unified Diff: chrome/browser/content_settings/tab_specific_content_settings.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/browser/chromeos/wm_ipc.cc ('k') | chrome/browser/debugger/devtools_file_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/content_settings/tab_specific_content_settings.cc
diff --git a/chrome/browser/content_settings/tab_specific_content_settings.cc b/chrome/browser/content_settings/tab_specific_content_settings.cc
index 2aa6dffd1abfd3498ae1e3792ec966e1389a3b76..09735ce678431c176507913e5c9cd462c034cc53 100644
--- a/chrome/browser/content_settings/tab_specific_content_settings.cc
+++ b/chrome/browser/content_settings/tab_specific_content_settings.cc
@@ -34,8 +34,8 @@ using content::BrowserThread;
namespace {
typedef std::list<TabSpecificContentSettings*> TabSpecificList;
-static base::LazyInstance<TabSpecificList> g_tab_specific(
- base::LINKER_INITIALIZED);
+static base::LazyInstance<TabSpecificList> g_tab_specific =
+ LAZY_INSTANCE_INITIALIZER;
}
bool TabSpecificContentSettings::LocalSharedObjectsContainer::empty() const {
« no previous file with comments | « chrome/browser/chromeos/wm_ipc.cc ('k') | chrome/browser/debugger/devtools_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698