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

Unified Diff: ui/gfx/surface/accelerated_surface_win.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 | « ui/gfx/gl/gl_surface.cc ('k') | webkit/blob/deletable_file_reference.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/surface/accelerated_surface_win.cc
diff --git a/ui/gfx/surface/accelerated_surface_win.cc b/ui/gfx/surface/accelerated_surface_win.cc
index 9efb48def3834b7e9f8ebe37030d671d108b1c95..efb57060b83cd4f7f03c4a5cc6f97828ad4be8b6 100644
--- a/ui/gfx/surface/accelerated_surface_win.cc
+++ b/ui/gfx/surface/accelerated_surface_win.cc
@@ -91,7 +91,7 @@ class PresentThreadPool {
};
base::LazyInstance<PresentThreadPool>
- g_present_thread_pool(base::LINKER_INITIALIZED);
+ g_present_thread_pool = LAZY_INSTANCE_INITIALIZER;
QuerySyncThread::QuerySyncThread(const char* name)
: base::Thread(name),
« no previous file with comments | « ui/gfx/gl/gl_surface.cc ('k') | webkit/blob/deletable_file_reference.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698