Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(285)

Unified Diff: Source/WebCore/page/FocusController.cpp

Issue 13544008: Remove PlatformWidget references (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698