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 3697dea24c80315c5e02409cd77631f0e307aae5..a758754900799125ac4b774d89ed393f49ad2ac5 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h |
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h |
@@ -53,7 +53,6 @@ |
#include "core/style/StyleRareNonInheritedData.h" |
#include "core/style/StyleReflection.h" |
#include "core/style/StyleSelfAlignmentData.h" |
-#include "core/style/StyleSurroundData.h" |
#include "core/style/StyleTransformData.h" |
#include "core/style/StyleVisualData.h" |
#include "core/style/StyleWillChangeData.h" |
@@ -188,7 +187,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase, |
DataRef<StyleBoxData> box_; |
DataRef<StyleVisualData> visual_; |
DataRef<StyleBackgroundData> background_; |
- DataRef<StyleSurroundData> surround_; |
DataRef<StyleRareNonInheritedData> rare_non_inherited_data_; |
// inherited attributes |
@@ -595,27 +593,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase, |
SET_VAR(surround_, border_.bottom_right_, s); |
} |
- // Offset properties. |
- // left |
- static Length InitialLeft() { return Length(); } |
- const Length& Left() const { return surround_->left_; } |
- void SetLeft(const Length& v) { SET_VAR(surround_, left_, v); } |
- |
- // right |
- static Length InitialRight() { return Length(); } |
- const Length& Right() const { return surround_->right_; } |
- void SetRight(const Length& v) { SET_VAR(surround_, right_, v); } |
- |
- // top |
- static Length InitialTop() { return Length(); } |
- const Length& Top() const { return surround_->top_; } |
- void SetTop(const Length& v) { SET_VAR(surround_, top_, v); } |
- |
- // bottom |
- static Length InitialBottom() { return Length(); } |
- const Length& Bottom() const { return surround_->bottom_; } |
- void SetBottom(const Length& v) { SET_VAR(surround_, bottom_, v); } |
- |
// box-shadow (aka -webkit-box-shadow) |
static ShadowList* InitialBoxShadow() { return 0; } |
ShadowList* BoxShadow() const { |