Index: Source/WebCore/page/FocusController.cpp |
diff --git a/Source/WebCore/page/FocusController.cpp b/Source/WebCore/page/FocusController.cpp |
index aafc33ce48e71c34a4a05e7eecd6afadbf9eeec6..cd0025dd20054b6cbc1cd7d2a5af93b20eb1ba27 100644 |
--- a/Source/WebCore/page/FocusController.cpp |
+++ b/Source/WebCore/page/FocusController.cpp |
@@ -640,10 +640,8 @@ void FocusController::setActive(bool active) |
m_isActive = active; |
if (FrameView* view = m_page->mainFrame()->view()) { |
- if (!view->platformWidget()) { |
- view->updateLayoutAndStyleIfNeededRecursive(); |
- view->updateControlTints(); |
- } |
+ view->updateLayoutAndStyleIfNeededRecursive(); |
+ view->updateControlTints(); |
} |
focusedOrMainFrame()->selection()->pageActivationChanged(); |