Index: views/focus/focus_manager.cc |
=================================================================== |
--- views/focus/focus_manager.cc (revision 98084) |
+++ views/focus/focus_manager.cc (working copy) |
@@ -90,7 +90,7 @@ |
// Note that we don't do focus traversal if the root window is not part of the |
// active window hierarchy as this would mean we have no focused view and |
// would focus the first focusable view. |
-#if defined(OS_WIN) |
+#if defined(OS_WIN) && !defined(USE_AURA) |
HWND top_window = widget_->GetNativeView(); |
HWND active_window = ::GetActiveWindow(); |
if ((active_window == top_window || ::IsChild(active_window, top_window)) && |