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

Unified Diff: content/browser/renderer_host/image_transport_client.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
Index: content/browser/renderer_host/image_transport_client.cc
diff --git a/content/browser/renderer_host/image_transport_client.cc b/content/browser/renderer_host/image_transport_client.cc
index 7ced869b77a5f1a9e7a2c8614ec1281a9479bcfa..0235b964aa7fc168aea7cac0e6157da739a0d596 100644
--- a/content/browser/renderer_host/image_transport_client.cc
+++ b/content/browser/renderer_host/image_transport_client.cc
@@ -216,8 +216,8 @@ class ImageTransportClientGLX : public ImageTransportClient {
static base::LazyInstance<GLXFBConfig> fbconfig_;
};
-base::LazyInstance<GLXFBConfig> ImageTransportClientGLX::fbconfig_(
- base::LINKER_INITIALIZED);
+base::LazyInstance<GLXFBConfig> ImageTransportClientGLX::fbconfig_ =
+ LAZY_INSTANCE_INITIALIZER;
class ImageTransportClientOSMesa : public ImageTransportClient {
public:
« no previous file with comments | « content/browser/notification_service_impl.cc ('k') | content/browser/renderer_host/java/java_bridge_channel_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698