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()) { |