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

Unified Diff: chrome/browser/automation/automation_resource_message_filter.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/app/chrome_main_delegate.cc ('k') | chrome/browser/chromeos/boot_times_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/automation_resource_message_filter.cc
diff --git a/chrome/browser/automation/automation_resource_message_filter.cc b/chrome/browser/automation/automation_resource_message_filter.cc
index ec5ae6914d19c03447cf731c034efe2bde3066b7..79d98d3c41877433af4a0ddd1e43ecc26ec6fdec 100644
--- a/chrome/browser/automation/automation_resource_message_filter.cc
+++ b/chrome/browser/automation/automation_resource_message_filter.cc
@@ -24,12 +24,12 @@
using content::BrowserThread;
base::LazyInstance<AutomationResourceMessageFilter::RenderViewMap>
- AutomationResourceMessageFilter::filtered_render_views_(
- base::LINKER_INITIALIZED);
+ AutomationResourceMessageFilter::filtered_render_views_ =
+ LAZY_INSTANCE_INITIALIZER;
base::LazyInstance<AutomationResourceMessageFilter::CompletionCallbackMap>
- AutomationResourceMessageFilter::completion_callback_map_(
- base::LINKER_INITIALIZED);
+ AutomationResourceMessageFilter::completion_callback_map_ =
+ LAZY_INSTANCE_INITIALIZER;
int AutomationResourceMessageFilter::unique_request_id_ = 1;
int AutomationResourceMessageFilter::next_completion_callback_id_ = 0;
« no previous file with comments | « chrome/app/chrome_main_delegate.cc ('k') | chrome/browser/chromeos/boot_times_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698