Chromium Code Reviews| Index: third_party/WebKit/Source/core/style/ComputedStyle.cpp |
| diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
| index 20681097384728f6e84ccc056967ab3512b3b711..1811e49f20fe9ada08b32baa261a4a0c21aa4fbb 100644 |
| --- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
| +++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
| @@ -872,6 +872,9 @@ void ComputedStyle::updatePropertySpecificDifferences(const ComputedStyle& other |
| diff.setTextDecorationOrColorChanged(); |
| } |
| } |
| + |
| + if (diff.needsLayout() || diff.transformChanged()) |
|
ojan
2016/08/16 23:54:32
A couple thoughts on this.
1. You need to also che
Bugs Nash
2016/08/17 02:08:46
Isn't that already checked via diff.needsLayout()?
skobes
2016/08/17 18:50:32
As bugsnash noted, needsLayout includes this.
|
| + diff.setLayoutAffectingPropertyChanged(); |
| } |
| void ComputedStyle::addPaintImage(StyleImage* image) |