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

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

Issue 2920943002: Remove superfluous diff code in ComputedStyle::UpdatePropertySpecificDifferences (Closed)
Patch Set: Created 3 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ddf32276434d699d7ebfe28258f66e4d592f26e2..1afb21e3c18d24b4904122744ed4debd61e0dd4d 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
@@ -886,24 +886,6 @@ void ComputedStyle::UpdatePropertySpecificDifferences(
rare_non_inherited_data_->visited_link_text_decoration_color_ !=
other.rare_non_inherited_data_
->visited_link_text_decoration_color_)) ||
- (rare_inherited_data_.Get() != other.rare_inherited_data_.Get() &&
- (TextFillColor() != other.TextFillColor() ||
- TextStrokeColor() != other.TextStrokeColor() ||
- TextEmphasisColor() != other.TextEmphasisColor() ||
- VisitedLinkTextFillColor() != other.VisitedLinkTextFillColor() ||
- VisitedLinkTextStrokeColor() != other.VisitedLinkTextStrokeColor() ||
- VisitedLinkTextEmphasisColor() !=
- other.VisitedLinkTextEmphasisColor() ||
- rare_inherited_data_->text_emphasis_fill_ !=
- other.rare_inherited_data_->text_emphasis_fill_ ||
- rare_inherited_data_->text_underline_position_ !=
- other.rare_inherited_data_->text_underline_position_ ||
- rare_inherited_data_->text_decoration_skip_ !=
- other.rare_inherited_data_->text_decoration_skip_ ||
- rare_inherited_data_->applied_text_decorations_ !=
- other.rare_inherited_data_->applied_text_decorations_ ||
- CaretColor() != CaretColor() ||
- VisitedLinkCaretColor() != other.VisitedLinkCaretColor())) ||
ComputedStyleBase::
UpdatePropertySpecificDifferencesTextDecorationOrColor(other)) {
diff.SetTextDecorationOrColorChanged();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698