| Index: views/window/dialog_client_view.cc
|
| ===================================================================
|
| --- views/window/dialog_client_view.cc (revision 19028)
|
| +++ views/window/dialog_client_view.cc (working copy)
|
| @@ -258,7 +258,7 @@
|
| }
|
|
|
| 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 @@
|
| 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
|
|
|