Index: Source/core/layout/LayoutObject.cpp |
diff --git a/Source/core/layout/LayoutObject.cpp b/Source/core/layout/LayoutObject.cpp |
index ce0831564cfa852a75a2fa0b43278a58674a5a61..c88f17dc01f0487e8d7557846415c8ce8d50427f 100644 |
--- a/Source/core/layout/LayoutObject.cpp |
+++ b/Source/core/layout/LayoutObject.cpp |
@@ -1736,7 +1736,7 @@ StyleDifference LayoutObject::adjustStyleDifference(StyleDifference diff) const |
if (diff.textOrColorChanged() && !diff.needsPaintInvalidation()) { |
chrishtr
2015/09/11 19:54:49
Let's change to textDecorationOrColorChanged().
|
if (style()->hasBorder() || style()->hasOutline() |
|| style()->isBackgroundColorCurrentColor() |
- || (isText() && !toLayoutText(this)->isAllCollapsibleWhitespace())) |
+ || (isText() && !isBR())) |
diff.setNeedsPaintInvalidationObject(); |
} |