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

Unified Diff: Source/core/style/ComputedStyle.cpp

Issue 1345833003: Revert of Invalidate whitespace text on text color changes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 3 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 | « Source/core/layout/LayoutObject.cpp ('k') | Source/core/style/StyleDifference.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/style/ComputedStyle.cpp
diff --git a/Source/core/style/ComputedStyle.cpp b/Source/core/style/ComputedStyle.cpp
index 3852f28062f1f9c3cbc46d26e638ce95829b3e2b..739ff8076e479bc25c6e072a6b41be9b39e1e3b5 100644
--- a/Source/core/style/ComputedStyle.cpp
+++ b/Source/core/style/ComputedStyle.cpp
@@ -744,12 +744,12 @@ void ComputedStyle::updatePropertySpecificDifferences(const ComputedStyle& other
|| inherited->visitedLinkColor != other.inherited->visitedLinkColor
|| inherited_flags.m_textUnderline != other.inherited_flags.m_textUnderline
|| visual->textDecoration != other.visual->textDecoration) {
- diff.setTextDecorationOrColorChanged();
+ diff.setTextOrColorChanged();
} else if (rareNonInheritedData.get() != other.rareNonInheritedData.get()
&& (rareNonInheritedData->m_textDecorationStyle != other.rareNonInheritedData->m_textDecorationStyle
|| rareNonInheritedData->m_textDecorationColor != other.rareNonInheritedData->m_textDecorationColor
|| rareNonInheritedData->m_visitedLinkTextDecorationColor != other.rareNonInheritedData->m_visitedLinkTextDecorationColor)) {
- diff.setTextDecorationOrColorChanged();
+ diff.setTextOrColorChanged();
} else if (rareInheritedData.get() != other.rareInheritedData.get()
&& (rareInheritedData->textFillColor() != other.rareInheritedData->textFillColor()
|| rareInheritedData->textStrokeColor() != other.rareInheritedData->textStrokeColor()
@@ -759,7 +759,7 @@ void ComputedStyle::updatePropertySpecificDifferences(const ComputedStyle& other
|| rareInheritedData->visitedLinkTextEmphasisColor() != other.rareInheritedData->visitedLinkTextEmphasisColor()
|| rareInheritedData->textEmphasisFill != other.rareInheritedData->textEmphasisFill
|| rareInheritedData->appliedTextDecorations != other.rareInheritedData->appliedTextDecorations)) {
- diff.setTextDecorationOrColorChanged();
+ diff.setTextOrColorChanged();
}
}
}
« no previous file with comments | « Source/core/layout/LayoutObject.cpp ('k') | Source/core/style/StyleDifference.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698