Index: gfx/window_impl.cc |
=================================================================== |
--- gfx/window_impl.cc (revision 67155) |
+++ gfx/window_impl.cc (working copy) |
@@ -6,6 +6,7 @@ |
#include <list> |
+#include "base/logging.h" |
#include "base/singleton.h" |
#include "base/string_number_conversions.h" |
#include "base/win_util.h" |
@@ -152,6 +153,12 @@ |
return NULL; |
} |
+void WindowImpl::set_initial_class_style(UINT class_style) { |
+ // We dynamically generate the class name, so don't register it globally! |
+ DCHECK_EQ((class_style & CS_GLOBALCLASS), 0u); |
+ class_style_ = class_style; |
+} |
+ |
// static |
bool WindowImpl::IsWindowImpl(HWND hwnd) { |
wchar_t tmp[128]; |