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

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

Issue 2882373002: Rename StyleRareInheritedData::indent_ to text_indent_. (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 | third_party/WebKit/Source/core/style/ComputedStyle.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/style/ComputedStyle.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
index 1c7035340a3e14fca53571c65699951383eda71e..dc96497bafc041653082bc889f6ec7616c6e9056 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -1747,7 +1747,9 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase<ComputedStyle>,
static Length InitialTextIndent() { return Length(kFixed); }
static TextIndentLine InitialTextIndentLine() { return kTextIndentFirstLine; }
static TextIndentType InitialTextIndentType() { return kTextIndentNormal; }
- const Length& TextIndent() const { return rare_inherited_data_->indent_; }
+ const Length& TextIndent() const {
+ return rare_inherited_data_->text_indent_;
+ }
TextIndentLine GetTextIndentLine() const {
return static_cast<TextIndentLine>(rare_inherited_data_->text_indent_line_);
}
@@ -1755,7 +1757,7 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase<ComputedStyle>,
return static_cast<TextIndentType>(rare_inherited_data_->text_indent_type_);
}
void SetTextIndent(const Length& v) {
- SET_VAR(rare_inherited_data_, indent_, v);
+ SET_VAR(rare_inherited_data_, text_indent_, v);
}
void SetTextIndentLine(TextIndentLine v) {
SET_VAR(rare_inherited_data_, text_indent_line_, v);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/style/ComputedStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698