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

Unified Diff: Source/core/rendering/RenderLayerModelObject.cpp

Issue 546513002: Remove redundant invalidation in RenderLayerModelObject::styleDidChange() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderLayerModelObject.cpp
diff --git a/Source/core/rendering/RenderLayerModelObject.cpp b/Source/core/rendering/RenderLayerModelObject.cpp
index e340de3fd4ebb33283c95641b5379b1fb386d4aa..4fe070a95cb7604dc282376b62d051d38997ed51 100644
--- a/Source/core/rendering/RenderLayerModelObject.cpp
+++ b/Source/core/rendering/RenderLayerModelObject.cpp
@@ -115,9 +115,6 @@ void RenderLayerModelObject::styleDidChange(StyleDifference diff, const RenderSt
setChildNeedsLayout();
createLayer(type);
if (parent() && !needsLayout()) {
- // FIXME: This invalidation is overly broad. We should update to
- // do the correct invalidation at RenderStyle::diff time. crbug.com/349061
- layer()->renderer()->setShouldDoFullPaintInvalidation(true);
// FIXME: We should call a specialized version of this function.
layer()->updateLayerPositionsAfterLayout();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698