Index: Source/core/layout/LayoutObject.cpp |
diff --git a/Source/core/layout/LayoutObject.cpp b/Source/core/layout/LayoutObject.cpp |
index ce0831564cfa852a75a2fa0b43278a58674a5a61..af143934febd19d29e1f95c0206fcc496f6031a4 100644 |
--- a/Source/core/layout/LayoutObject.cpp |
+++ b/Source/core/layout/LayoutObject.cpp |
@@ -1734,9 +1734,7 @@ StyleDifference LayoutObject::adjustStyleDifference(StyleDifference diff) const |
} |
if (diff.textOrColorChanged() && !diff.needsPaintInvalidation()) { |
- if (style()->hasBorder() || style()->hasOutline() |
- || style()->isBackgroundColorCurrentColor() |
- || (isText() && !toLayoutText(this)->isAllCollapsibleWhitespace())) |
+ if (isText() || style()->hasBorder() || style()->hasOutline() || style()->isBackgroundColorCurrentColor()) |
chrishtr
2015/09/11 16:49:19
Add a comment about why we're whitelisting only ce
|
diff.setNeedsPaintInvalidationObject(); |
} |