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

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

Issue 168193002: Fix compositing chicken and egg problem in updateControlTints. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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/core/page/FocusController.cpp
diff --git a/Source/core/page/FocusController.cpp b/Source/core/page/FocusController.cpp
index 8913d92e9aa251a09d8ccef0af0d0673a73f45fd..9033120a0115b693adcc2abd01cc5462ef074cd5 100644
--- a/Source/core/page/FocusController.cpp
+++ b/Source/core/page/FocusController.cpp
@@ -676,12 +676,8 @@ void FocusController::setActive(bool active)
m_isActive = active;
- if (FrameView* view = m_page->mainFrame()->view()) {
- view->updateLayoutAndStyleIfNeededRecursive();
- // https://code.google.com/p/chromium/issues/detail?id=343758
- DisableCompositingQueryAsserts disabler;
+ if (FrameView* view = m_page->mainFrame()->view())
view->updateControlTints();
- }
focusedOrMainFrame()->selection().pageActivationChanged();
}

Powered by Google App Engine
This is Rietveld 408576698