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

Unified Diff: Source/web/WebViewImpl.cpp

Issue 185263002: Don't setStyle the RenderView every style recalc (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix chicken-egg assert in test 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/dom/Document.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 4a82628ee33ae7c50ae1286d4ab1e0de5ac82c0a..5ace3c2e4869b020422316f36217e6582dcc8271 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -3375,6 +3375,8 @@ bool WebViewImpl::isTransparent() const
void WebViewImpl::setBaseBackgroundColor(WebColor color)
{
+ layout();
ojan 2014/03/03 03:30:52 Why was this change needed?
abarth-chromium 2014/03/03 03:50:12 The call to setBaseBackgroundColor on line 3386 de
+
if (m_baseBackgroundColor == color)
return;
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698