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

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

Issue 2845463003: Rename StyleInheritedData members. (Closed)
Patch Set: Rebase 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 | « third_party/WebKit/Source/core/style/StyleInheritedData.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/StyleInheritedData.cpp
diff --git a/third_party/WebKit/Source/core/style/StyleInheritedData.cpp b/third_party/WebKit/Source/core/style/StyleInheritedData.cpp
index caa5264baa8433e57afbd1db5c49fc2d90aa36a5..b2ed49bb0c643b8f1a6b4033e801ddea65022993 100644
--- a/third_party/WebKit/Source/core/style/StyleInheritedData.cpp
+++ b/third_party/WebKit/Source/core/style/StyleInheritedData.cpp
@@ -26,32 +26,32 @@
namespace blink {
StyleInheritedData::StyleInheritedData()
- : horizontal_border_spacing(
+ : horizontal_border_spacing_(
ComputedStyle::InitialHorizontalBorderSpacing()),
- vertical_border_spacing(ComputedStyle::InitialVerticalBorderSpacing()),
- line_height(ComputedStyle::InitialLineHeight()),
- color(ComputedStyle::InitialColor()),
- visited_link_color(ComputedStyle::InitialColor()),
- text_autosizing_multiplier(1) {}
+ vertical_border_spacing_(ComputedStyle::InitialVerticalBorderSpacing()),
+ line_height_(ComputedStyle::InitialLineHeight()),
+ color_(ComputedStyle::InitialColor()),
+ visited_link_color_(ComputedStyle::InitialColor()),
+ text_autosizing_multiplier_(1) {}
StyleInheritedData::~StyleInheritedData() {}
StyleInheritedData::StyleInheritedData(const StyleInheritedData& o)
: RefCounted<StyleInheritedData>(),
- horizontal_border_spacing(o.horizontal_border_spacing),
- vertical_border_spacing(o.vertical_border_spacing),
- line_height(o.line_height),
- font(o.font),
- color(o.color),
- visited_link_color(o.visited_link_color),
- text_autosizing_multiplier(o.text_autosizing_multiplier) {}
+ horizontal_border_spacing_(o.horizontal_border_spacing_),
+ vertical_border_spacing_(o.vertical_border_spacing_),
+ line_height_(o.line_height_),
+ font_(o.font_),
+ color_(o.color_),
+ visited_link_color_(o.visited_link_color_),
+ text_autosizing_multiplier_(o.text_autosizing_multiplier_) {}
bool StyleInheritedData::operator==(const StyleInheritedData& o) const {
- return line_height == o.line_height && font == o.font && color == o.color &&
- visited_link_color == o.visited_link_color &&
- horizontal_border_spacing == o.horizontal_border_spacing &&
- text_autosizing_multiplier == o.text_autosizing_multiplier &&
- vertical_border_spacing == o.vertical_border_spacing;
+ return line_height_ == o.line_height_ && font_ == o.font_ &&
+ color_ == o.color_ && visited_link_color_ == o.visited_link_color_ &&
+ horizontal_border_spacing_ == o.horizontal_border_spacing_ &&
+ text_autosizing_multiplier_ == o.text_autosizing_multiplier_ &&
+ vertical_border_spacing_ == o.vertical_border_spacing_;
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleInheritedData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698