Index: Source/core/page/FocusController.cpp |
diff --git a/Source/core/page/FocusController.cpp b/Source/core/page/FocusController.cpp |
index 94bbad04815392d71d5934f7c0221d3892ac14b5..081cc4c1fcccefe2be54c525497d77955392a37b 100644 |
--- a/Source/core/page/FocusController.cpp |
+++ b/Source/core/page/FocusController.cpp |
@@ -788,7 +788,7 @@ void FocusController::findFocusCandidateInContainer(Node* container, const Layou |
bool FocusController::advanceFocusDirectionallyInContainer(Node* container, const LayoutRect& startingRect, FocusDirection direction) |
{ |
- if (!container || !container->document()) |
+ if (!container) |
return false; |
LayoutRect newStartingRect = startingRect; |