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 0a47536b1f24e4481fee6db3925bfbcd5ce24701..5984e27ec4e7fb927ddc9b6f0afdccaa995c0178 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h |
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h |
@@ -739,6 +739,17 @@ |
length); |
} |
+ // flex-direction (aka -webkit-flex-direction) |
+ static EFlexDirection InitialFlexDirection() { return EFlexDirection::kRow; } |
+ EFlexDirection FlexDirection() const { |
+ return static_cast<EFlexDirection>( |
+ rare_non_inherited_data_->flexible_box_data_->flex_direction_); |
+ } |
+ void SetFlexDirection(EFlexDirection direction) { |
+ SET_NESTED_VAR(rare_non_inherited_data_, flexible_box_data_, |
+ flex_direction_, static_cast<unsigned>(direction)); |
+ } |
+ |
// flex-grow (aka -webkit-flex-grow) |
static float InitialFlexGrow() { return 0; } |
float FlexGrow() const { |