Index: Source/core/html/HTMLFrameElementBase.cpp |
diff --git a/Source/core/html/HTMLFrameElementBase.cpp b/Source/core/html/HTMLFrameElementBase.cpp |
index afc9ec57ecb071991be33a40b9d5ecb66dbc698e..59e473f0703280e6702a07449eced49a8d0ec460 100644 |
--- a/Source/core/html/HTMLFrameElementBase.cpp |
+++ b/Source/core/html/HTMLFrameElementBase.cpp |
@@ -196,7 +196,7 @@ void HTMLFrameElementBase::setFocus(bool received) |
if (received) |
page->focusController().setFocusedFrame(contentFrame()); |
else if (page->focusController().focusedFrame() == contentFrame()) // Focus may have already been given to another frame, don't take it away. |
- page->focusController().setFocusedFrame(0); |
+ page->focusController().setFocusedFrame(nullptr); |
} |
} |