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

Unified Diff: base/win/message_window.cc

Issue 2733283002: Require explicit selection of traits for LazyInstance (Closed)
Patch Set: l10n again 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
« no previous file with comments | « base/test/launcher/test_launcher.cc ('k') | cc/layers/empty_content_layer_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/message_window.cc
diff --git a/base/win/message_window.cc b/base/win/message_window.cc
index 26b64a533887e0e619d7b50a4d36f2de69d6303e..155047e4aeeeecb66ad5b4d046e728cd162cfe6f 100644
--- a/base/win/message_window.cc
+++ b/base/win/message_window.cc
@@ -32,8 +32,8 @@ class MessageWindow::WindowClass {
DISALLOW_COPY_AND_ASSIGN(WindowClass);
};
-static LazyInstance<MessageWindow::WindowClass> g_window_class =
- LAZY_INSTANCE_INITIALIZER;
+static LazyInstance<MessageWindow::WindowClass>::DestructorAtExit
+ g_window_class = LAZY_INSTANCE_INITIALIZER;
MessageWindow::WindowClass::WindowClass()
: atom_(0), instance_(CURRENT_MODULE()) {
« no previous file with comments | « base/test/launcher/test_launcher.cc ('k') | cc/layers/empty_content_layer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698