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

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: fix CrOS 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 1d2f9767adbac100a1cc9620f68ceb8dcfbd6066..3a6cb48824a76bb8401a5025d2aac76498163899 100644
--- a/content/browser/renderer_host/image_transport_client.cc
+++ b/content/browser/renderer_host/image_transport_client.cc
@@ -214,8 +214,8 @@ class ImageTransportClientGLX : public ImageTransportClient {
static base::LazyInstance<GLXFBConfig> fbconfig_;
};
-base::LazyInstance<GLXFBConfig> ImageTransportClientGLX::fbconfig_(
- base::LINKER_INITIALIZED);
+base::LazyInstance<GLXFBConfig> ImageTransportClientGLX::fbconfig_ =
+ LINKER_ZERO_INITIALIZED;
class ImageTransportClientOSMesa : public ImageTransportClient {
public:

Powered by Google App Engine
This is Rietveld 408576698