Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Unified Diff: views/window/dialog_client_view.cc

Issue 146049: Fix ifdef that was triggering a NOTIMPLEMENTED in browser tests (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698