Index: Source/core/html/HTMLDocument.cpp |
diff --git a/Source/core/html/HTMLDocument.cpp b/Source/core/html/HTMLDocument.cpp |
index c0d590ac7639f7c32d1993b019c6966f376db1b8..01e93b6e38e1eaeee882720fc04db73cbdf75275 100644 |
--- a/Source/core/html/HTMLDocument.cpp |
+++ b/Source/core/html/HTMLDocument.cpp |
@@ -124,7 +124,7 @@ bool HTMLDocument::hasFocus() |
if (!page->focusController().isActive() || !page->focusController().isFocused()) |
return false; |
if (Frame* focusedFrame = page->focusController().focusedFrame()) { |
- if (focusedFrame->tree()->isDescendantOf(frame())) |
+ if (focusedFrame->tree().isDescendantOf(frame())) |
return true; |
} |
return false; |