Index: third_party/WebKit/Source/core/dom/Document.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp |
index 03338a756a267a2cf3f1eddee32e5f176d7bd0fb..9dad726dbe97d2776626ffc90189daab51c50a5b 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.cpp |
+++ b/third_party/WebKit/Source/core/dom/Document.cpp |
@@ -3722,6 +3722,8 @@ void Document::clearFocusedElement() |
void Document::setSequentialFocusNavigationStartingPoint(Node* node) |
{ |
+ if (!m_frame) |
+ return; |
if (!node) { |
m_sequentialFocusNavigationStartingPoint = nullptr; |
return; |