diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/window/dialog_client_view.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/window/dialog_client_view.cc b/views/window/dialog_client_view.cc index fc872f0..c114bc9 100644 --- a/views/window/dialog_client_view.cc +++ b/views/window/dialog_client_view.cc @@ -258,7 +258,7 @@ bool DialogClientView::CanClose() const { } void DialogClientView::WindowClosing() { -#if !defined(TOOLKIT_VIEWS) +#if defined(OS_WIN) FocusManager* focus_manager = GetFocusManager(); DCHECK(focus_manager); if (focus_manager) @@ -308,7 +308,7 @@ void DialogClientView::ViewHierarchyChanged(bool is_add, View* parent, ShowDialogButtons(); ClientView::ViewHierarchyChanged(is_add, parent, child); -#if !defined(TOOLKIT_VIEWS) +#if defined(OS_WIN) FocusManager* focus_manager = GetFocusManager(); // Listen for focus change events so we can update the default button. DCHECK(focus_manager); // bug #1291225: crash reports seem to indicate it |