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

Unified Diff: Source/web/WebViewImpl.cpp

Issue 152623002: Make StyleChange parameter explicit in setNeedsStyleRecalc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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/svg/SVGCursorElement.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebViewImpl.cpp
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
index 26ffccc64fc22d90992acf1668e752406655bff1..ebc75115e5f198aaa7ed25cdf679f102931bcd92 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -3846,7 +3846,7 @@ void WebViewImpl::didExitCompositingMode()
m_client->didInvalidateRect(IntRect(0, 0, m_size.width, m_size.height));
// Force a style recalc to remove all the composited layers.
- m_page->mainFrame()->document()->setNeedsStyleRecalc();
+ m_page->mainFrame()->document()->setNeedsStyleRecalc(SubtreeStyleChange);
if (m_pageOverlays)
m_pageOverlays->update();
« no previous file with comments | « Source/core/svg/SVGCursorElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698