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

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

Issue 170803010: Revert of 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
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/web/PageWidgetDelegate.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/FocusController.cpp
diff --git a/Source/core/page/FocusController.cpp b/Source/core/page/FocusController.cpp
index 1e7a3ccd45f64ca579032413bea7af8322198617..93a2193ecc6fb80e03891b2b0b4eec834284cf5e 100644
--- a/Source/core/page/FocusController.cpp
+++ b/Source/core/page/FocusController.cpp
@@ -674,8 +674,12 @@
m_isActive = active;
- if (FrameView* view = m_page->mainFrame()->view())
+ if (FrameView* view = m_page->mainFrame()->view()) {
+ view->updateLayoutAndStyleIfNeededRecursive();
+ // https://code.google.com/p/chromium/issues/detail?id=343758
+ DisableCompositingQueryAsserts disabler;
view->updateControlTints();
+ }
focusedOrMainFrame()->selection().pageActivationChanged();
}
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/web/PageWidgetDelegate.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698