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

Unified Diff: chrome_frame/test/net/fake_external_tab.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/metrics_service.cc ('k') | chrome_frame/urlmon_moniker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test/net/fake_external_tab.cc
diff --git a/chrome_frame/test/net/fake_external_tab.cc b/chrome_frame/test/net/fake_external_tab.cc
index b597289079979c7197c0f2b7e5623a62226a22aa..bce70236116dab10e4421c8e7810ba4af15bfc58 100644
--- a/chrome_frame/test/net/fake_external_tab.cc
+++ b/chrome_frame/test/net/fake_external_tab.cc
@@ -136,15 +136,15 @@ class FakeBrowserProcessImpl : public BrowserProcessImpl {
};
base::LazyInstance<chrome::ChromeContentClient>
- g_chrome_content_client(base::LINKER_INITIALIZED);
+ g_chrome_content_client = LAZY_INSTANCE_INITIALIZER;
// Override the default ContentBrowserClient to let Chrome participate in
// content logic. Must be done before any tabs are created.
base::LazyInstance<chrome::ChromeContentBrowserClient>
- g_browser_client(base::LINKER_INITIALIZED);
+ g_browser_client = LAZY_INSTANCE_INITIALIZER;
base::LazyInstance<chrome::ChromeContentRendererClient>
- g_renderer_client(base::LINKER_INITIALIZED);
+ g_renderer_client = LAZY_INSTANCE_INITIALIZER;
} // namespace
« no previous file with comments | « chrome_frame/metrics_service.cc ('k') | chrome_frame/urlmon_moniker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698