| Index: Source/core/page/FocusController.cpp
|
| diff --git a/Source/core/page/FocusController.cpp b/Source/core/page/FocusController.cpp
|
| index a637e983a914dbf640ab5a8fdc4937a86ac407f4..7e3aecfda8a959c6ccbcfbc57c3b5e4c5f901c1a 100644
|
| --- a/Source/core/page/FocusController.cpp
|
| +++ b/Source/core/page/FocusController.cpp
|
| @@ -727,7 +727,9 @@ void FocusController::setActive(bool active)
|
| view->updateControlTints();
|
| }
|
|
|
| - toLocalFrame(focusedOrMainFrame())->selection().pageActivationChanged();
|
| + Frame* frame = focusedOrMainFrame();
|
| + if (frame->isLocalFrame())
|
| + toLocalFrame(frame)->selection().pageActivationChanged();
|
| }
|
|
|
| static void updateFocusCandidateIfNeeded(FocusType type, const FocusCandidate& current, FocusCandidate& candidate, FocusCandidate& closest)
|
|
|