diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-23 22:01:22 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-23 22:01:22 +0000 |
commit | 1ca4a8b5e7fea30a0cd7437000e8381002f546af (patch) | |
tree | b0f9b0401e7a8306da910355fceaa65bda94549f /views | |
parent | 6a95b150b45b1bef099c4d221e8ff3a82d4540fa (diff) | |
download | chromium_src-1ca4a8b5e7fea30a0cd7437000e8381002f546af.zip chromium_src-1ca4a8b5e7fea30a0cd7437000e8381002f546af.tar.gz chromium_src-1ca4a8b5e7fea30a0cd7437000e8381002f546af.tar.bz2 |
Fix ifdef that was triggering a NOTIMPLEMENTED in browser tests.
BUG=None
TEST=Run the browser tests
Review URL: http://codereview.chromium.org/146049
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19068 0039d316-1c4b-4281-b951-d872f2087c98
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 |