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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp

Issue 2853013003: Don't call UpdateFromLayout from StyleDidChange. (Closed)
Patch Set: Created 3 years, 8 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: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
index da8607bd6916146c8fe94b8227354113cd58947c..dbc73b183ed87ea47559aa0ad40aaec4082b08e4 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
@@ -331,8 +331,7 @@ void LayoutBoxModelObject::StyleDidChange(StyleDifference diff,
SetChildNeedsLayout();
CreateLayerAfterStyleChange();
if (Parent() && !NeedsLayout()) {
- // FIXME: We should call specialized versions of these functions.
- Layer()->UpdateScrollingAfterLayout();
+ // FIXME: We should call a specialized versions 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