diff options
Diffstat (limited to 'gfx/window_impl.h')
-rw-r--r-- | gfx/window_impl.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gfx/window_impl.h b/gfx/window_impl.h index 8ce230a..0e8faa5 100644 --- a/gfx/window_impl.h +++ b/gfx/window_impl.h @@ -13,7 +13,7 @@ #include <string> -#include "base/logging.h" +#include "base/basictypes.h" #include "gfx/native_widget_types.h" #include "gfx/rect.h" @@ -64,11 +64,7 @@ class WindowImpl : public MessageMapInterface { DWORD window_ex_style() const { return window_ex_style_; } // Sets the class style to use. The default is CS_DBLCLKS. - void 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; - } + void set_initial_class_style(UINT class_style); UINT initial_class_style() const { return class_style_; } // Returns true if the specified |hwnd| is a WindowImpl. |