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

Unified Diff: content/common/host_shared_bitmap_manager.cc

Issue 2733283002: Require explicit selection of traits for LazyInstance (Closed)
Patch Set: Created 3 years, 9 months 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/common/host_shared_bitmap_manager.cc
diff --git a/content/common/host_shared_bitmap_manager.cc b/content/common/host_shared_bitmap_manager.cc
index 51f4fc79160d8f6c39f84f468930c95ba0504606..f424ac3623e84ead3652816225c6e58b38fef67c 100644
--- a/content/common/host_shared_bitmap_manager.cc
+++ b/content/common/host_shared_bitmap_manager.cc
@@ -57,8 +57,8 @@ class HostSharedBitmap : public cc::SharedBitmap {
} // namespace
-base::LazyInstance<HostSharedBitmapManager> g_shared_memory_manager =
- LAZY_INSTANCE_INITIALIZER;
+base::LazyInstance<HostSharedBitmapManager>::DestructorAtExit
+ g_shared_memory_manager = LAZY_INSTANCE_INITIALIZER;
HostSharedBitmapManagerClient::HostSharedBitmapManagerClient(
HostSharedBitmapManager* manager)

Powered by Google App Engine
This is Rietveld 408576698