Chromium Code Reviews| Index: Source/core/rendering/style/RenderStyle.cpp |
| diff --git a/Source/core/rendering/style/RenderStyle.cpp b/Source/core/rendering/style/RenderStyle.cpp |
| index 44183b6f552cd27d76e54375145e2bd8bc029880..65b10e09d54225059906ef22a701547385cfc4b7 100644 |
| --- a/Source/core/rendering/style/RenderStyle.cpp |
| +++ b/Source/core/rendering/style/RenderStyle.cpp |
| @@ -508,6 +508,9 @@ bool RenderStyle::diffNeedsFullLayoutAndPaintInvalidation(const RenderStyle& oth |
| if (inherited->textAutosizingMultiplier != other.inherited->textAutosizingMultiplier) |
| return true; |
| + if (inherited->font.loadingCustomFonts() && !other.inherited->font.loadingCustomFonts()) |
| + return true; |
|
rune
2014/12/04 12:54:17
This catches the case going from loading to not lo
rune
2014/12/05 00:21:39
Done.
|
| + |
| if (inherited.get() != other.inherited.get()) { |
| if (inherited->line_height != other.inherited->line_height |
| || inherited->font != other.inherited->font |