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

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

Issue 2905793002: Replace pointers in ComputedStyle::*DataEquivalent functions with refs. (Closed)
Patch Set: Rebase 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 | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | 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 4d7efa94d904859440e5315eff086c09ad17e6d0..31179c9743957a846bcfecb507ca08bcf6e5d8a6 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
@@ -185,7 +185,7 @@ StyleRecalcChange ComputedStyle::StylePropagationDiff(
if (old_style->Display() != new_style->Display() ||
old_style->HasPseudoStyle(kPseudoIdFirstLetter) !=
new_style->HasPseudoStyle(kPseudoIdFirstLetter) ||
- !old_style->ContentDataEquivalent(new_style) ||
+ !old_style->ContentDataEquivalent(*new_style) ||
old_style->HasTextCombine() != new_style->HasTextCombine())
return kReattach;
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698