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

Unified Diff: ash/wm/ash_focus_rules.cc

Issue 11421194: Hook up the FocusController behind a flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years 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
Index: ash/wm/ash_focus_rules.cc
===================================================================
--- ash/wm/ash_focus_rules.cc (revision 170620)
+++ ash/wm/ash_focus_rules.cc (working copy)
@@ -22,7 +22,7 @@
// AshFocusRules, views::corewm::FocusRules:
bool AshFocusRules::CanActivateWindow(aura::Window* window) {
- return !!window->parent();
+ return window && !!window->parent();
}
bool AshFocusRules::CanFocusWindow(aura::Window* window) {

Powered by Google App Engine
This is Rietveld 408576698