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

Side by Side 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, 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org) 2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
4 * reserved. 4 * reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 text_fill_color_ == o.text_fill_color_ && 190 text_fill_color_ == o.text_fill_color_ &&
191 text_emphasis_color_ == o.text_emphasis_color_ && 191 text_emphasis_color_ == o.text_emphasis_color_ &&
192 caret_color_ == o.caret_color_ && 192 caret_color_ == o.caret_color_ &&
193 visited_link_text_stroke_color_ == o.visited_link_text_stroke_color_ && 193 visited_link_text_stroke_color_ == o.visited_link_text_stroke_color_ &&
194 visited_link_text_fill_color_ == o.visited_link_text_fill_color_ && 194 visited_link_text_fill_color_ == o.visited_link_text_fill_color_ &&
195 visited_link_text_emphasis_color_ == 195 visited_link_text_emphasis_color_ ==
196 o.visited_link_text_emphasis_color_ && 196 o.visited_link_text_emphasis_color_ &&
197 visited_link_caret_color_ == o.visited_link_caret_color_ && 197 visited_link_caret_color_ == o.visited_link_caret_color_ &&
198 tap_highlight_color == o.tap_highlight_color && 198 tap_highlight_color == o.tap_highlight_color &&
199 ShadowDataEquivalent(o) && highlight == o.highlight && 199 ShadowDataEquivalent(o) && highlight == o.highlight &&
200 DataEquivalent(cursor_data.Get(), o.cursor_data.Get()) && 200 DataEquivalent(cursor_data, o.cursor_data) && indent == o.indent &&
201 indent == o.indent && effective_zoom_ == o.effective_zoom_ && 201 effective_zoom_ == o.effective_zoom_ && widows == o.widows &&
202 widows == o.widows && orphans == o.orphans && 202 orphans == o.orphans &&
203 text_stroke_color_is_current_color_ == 203 text_stroke_color_is_current_color_ ==
204 o.text_stroke_color_is_current_color_ && 204 o.text_stroke_color_is_current_color_ &&
205 text_fill_color_is_current_color_ == 205 text_fill_color_is_current_color_ ==
206 o.text_fill_color_is_current_color_ && 206 o.text_fill_color_is_current_color_ &&
207 text_emphasis_color_is_current_color_ == 207 text_emphasis_color_is_current_color_ ==
208 o.text_emphasis_color_is_current_color_ && 208 o.text_emphasis_color_is_current_color_ &&
209 caret_color_is_current_color_ == o.caret_color_is_current_color_ && 209 caret_color_is_current_color_ == o.caret_color_is_current_color_ &&
210 caret_color_is_auto_ == o.caret_color_is_auto_ && 210 caret_color_is_auto_ == o.caret_color_is_auto_ &&
211 visited_link_text_stroke_color_is_current_color_ == 211 visited_link_text_stroke_color_is_current_color_ ==
212 o.visited_link_text_stroke_color_is_current_color_ && 212 o.visited_link_text_stroke_color_is_current_color_ &&
(...skipping 26 matching lines...) Expand all
239 o.self_or_ancestor_has_dir_auto_attribute_ && 239 o.self_or_ancestor_has_dir_auto_attribute_ &&
240 respect_image_orientation_ == o.respect_image_orientation_ && 240 respect_image_orientation_ == o.respect_image_orientation_ &&
241 hyphenation_string == o.hyphenation_string && 241 hyphenation_string == o.hyphenation_string &&
242 line_height_step_ == o.line_height_step_ && 242 line_height_step_ == o.line_height_step_ &&
243 text_emphasis_custom_mark == o.text_emphasis_custom_mark && 243 text_emphasis_custom_mark == o.text_emphasis_custom_mark &&
244 QuotesDataEquivalent(o) && tab_size_ == o.tab_size_ && 244 QuotesDataEquivalent(o) && tab_size_ == o.tab_size_ &&
245 image_rendering_ == o.image_rendering_ && 245 image_rendering_ == o.image_rendering_ &&
246 text_underline_position_ == o.text_underline_position_ && 246 text_underline_position_ == o.text_underline_position_ &&
247 text_decoration_skip_ == o.text_decoration_skip_ && 247 text_decoration_skip_ == o.text_decoration_skip_ &&
248 ruby_position_ == o.ruby_position_ && 248 ruby_position_ == o.ruby_position_ &&
249 DataEquivalent(list_style_image.Get(), o.list_style_image.Get()) && 249 DataEquivalent(list_style_image, o.list_style_image) &&
250 DataEquivalent(applied_text_decorations, o.applied_text_decorations) && 250 DataEquivalent(applied_text_decorations, o.applied_text_decorations) &&
251 DataEquivalent(variables, o.variables) && 251 DataEquivalent(variables, o.variables) &&
252 text_size_adjust_ == o.text_size_adjust_; 252 text_size_adjust_ == o.text_size_adjust_;
253 } 253 }
254 254
255 bool StyleRareInheritedData::ShadowDataEquivalent( 255 bool StyleRareInheritedData::ShadowDataEquivalent(
256 const StyleRareInheritedData& o) const { 256 const StyleRareInheritedData& o) const {
257 return DataEquivalent(text_shadow.Get(), o.text_shadow.Get()); 257 return DataEquivalent(text_shadow, o.text_shadow);
258 } 258 }
259 259
260 bool StyleRareInheritedData::QuotesDataEquivalent( 260 bool StyleRareInheritedData::QuotesDataEquivalent(
261 const StyleRareInheritedData& o) const { 261 const StyleRareInheritedData& o) const {
262 return DataEquivalent(quotes, o.quotes); 262 return DataEquivalent(quotes, o.quotes);
263 } 263 }
264 264
265 } // namespace blink 265 } // namespace blink
OLDNEW
« 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