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

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

Issue 2922323002: Remove extraneous "data_" on RareNonInheritedData member. (Closed)
Patch Set: Created 3 years, 6 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
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 dab7c64be77625807368f76c55058e48e345a2ee..56824d1b097f127be757d5def1b541217a5dc00e 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
@@ -128,7 +128,7 @@ RefPtr<ComputedStyle> ComputedStyle::Clone(const ComputedStyle& other) {
ALWAYS_INLINE ComputedStyle::ComputedStyle()
: ComputedStyleBase(), RefCounted<ComputedStyle>() {
rare_non_inherited_data_.Init();
- rare_non_inherited_data_.Access()->deprecated_flexible_box_data_data_.Init();
+ rare_non_inherited_data_.Access()->deprecated_flexible_box_data_.Init();
rare_non_inherited_data_.Access()->flexible_box_data_.Init();
rare_non_inherited_data_.Access()->multi_col_data_.Init();
rare_non_inherited_data_.Access()->transform_data_.Init();
@@ -587,11 +587,11 @@ bool ComputedStyle::DiffNeedsFullLayoutAndPaintInvalidation(
*other.rare_non_inherited_data_->grid_item_data_.Get())
return true;
- if (rare_non_inherited_data_->deprecated_flexible_box_data_data_.Get() !=
- other.rare_non_inherited_data_->deprecated_flexible_box_data_data_
+ if (rare_non_inherited_data_->deprecated_flexible_box_data_.Get() !=
+ other.rare_non_inherited_data_->deprecated_flexible_box_data_
.Get() &&
- *rare_non_inherited_data_->deprecated_flexible_box_data_data_.Get() !=
- *other.rare_non_inherited_data_->deprecated_flexible_box_data_data_
+ *rare_non_inherited_data_->deprecated_flexible_box_data_.Get() !=
+ *other.rare_non_inherited_data_->deprecated_flexible_box_data_
.Get())
return true;
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698