diff options
Diffstat (limited to 'chrome/views/custom_frame_window.cc')
-rw-r--r-- | chrome/views/custom_frame_window.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/views/custom_frame_window.cc b/chrome/views/custom_frame_window.cc index 928947e..0acf4b3 100644 --- a/chrome/views/custom_frame_window.cc +++ b/chrome/views/custom_frame_window.cc @@ -833,16 +833,16 @@ void DefaultNonClientView::InitClass() { CustomFrameWindow::CustomFrameWindow(WindowDelegate* window_delegate) : Window(window_delegate), - non_client_view_(new DefaultNonClientView(this)), is_active_(false) { InitClass(); + non_client_view_ = new DefaultNonClientView(this); } CustomFrameWindow::CustomFrameWindow(WindowDelegate* window_delegate, NonClientView* non_client_view) - : Window(window_delegate), - non_client_view_(non_client_view) { + : Window(window_delegate) { InitClass(); + non_client_view_ = non_client_view; } CustomFrameWindow::~CustomFrameWindow() { |