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

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

Issue 2852873002: Omit .Get() on calls to DataEquivalent in StyleRareInheritedData. (Closed)
Patch Set: Created 3 years, 8 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/StyleRareInheritedData.cpp
diff --git a/third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp b/third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp
index 0040dd108b49cfb6137302fcc4f3e0973d37b37f..4ad14d8b9dfb478973f803b40468b11156728ca4 100644
--- a/third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp
+++ b/third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp
@@ -197,9 +197,9 @@ bool StyleRareInheritedData::operator==(const StyleRareInheritedData& o) const {
visited_link_caret_color_ == o.visited_link_caret_color_ &&
tap_highlight_color == o.tap_highlight_color &&
ShadowDataEquivalent(o) && highlight == o.highlight &&
- DataEquivalent(cursor_data.Get(), o.cursor_data.Get()) &&
- indent == o.indent && effective_zoom_ == o.effective_zoom_ &&
- widows == o.widows && orphans == o.orphans &&
+ DataEquivalent(cursor_data, o.cursor_data) && indent == o.indent &&
+ effective_zoom_ == o.effective_zoom_ && widows == o.widows &&
+ orphans == o.orphans &&
text_stroke_color_is_current_color_ ==
o.text_stroke_color_is_current_color_ &&
text_fill_color_is_current_color_ ==
@@ -246,7 +246,7 @@ bool StyleRareInheritedData::operator==(const StyleRareInheritedData& o) const {
text_underline_position_ == o.text_underline_position_ &&
text_decoration_skip_ == o.text_decoration_skip_ &&
ruby_position_ == o.ruby_position_ &&
- DataEquivalent(list_style_image.Get(), o.list_style_image.Get()) &&
+ DataEquivalent(list_style_image, o.list_style_image) &&
DataEquivalent(applied_text_decorations, o.applied_text_decorations) &&
DataEquivalent(variables, o.variables) &&
text_size_adjust_ == o.text_size_adjust_;
@@ -254,7 +254,7 @@ bool StyleRareInheritedData::operator==(const StyleRareInheritedData& o) const {
bool StyleRareInheritedData::ShadowDataEquivalent(
const StyleRareInheritedData& o) const {
- return DataEquivalent(text_shadow.Get(), o.text_shadow.Get());
+ return DataEquivalent(text_shadow, o.text_shadow);
}
bool StyleRareInheritedData::QuotesDataEquivalent(
« 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