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 e8cfa48f05318a61df84761b8b96387380eef664..8d317d12e02bb88169d823f70e6ce7b2fc633922 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h |
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h |
@@ -949,6 +949,7 @@ public: |
uint8_t snapHeightPosition() const { return rareInheritedData->m_snapHeightPosition; } |
uint8_t snapHeightUnit() const { return rareInheritedData->m_snapHeightUnit; } |
+ LayoutUnit snapWidth() const { return LayoutUnit::fromRawValue(rareNonInheritedData->m_snapWidth); } |
TabSize getTabSize() const { return rareInheritedData->m_tabSize; } |
@@ -1452,6 +1453,7 @@ public: |
void setSnapHeightPosition(uint8_t position) { SET_VAR(rareInheritedData, m_snapHeightPosition, position); } |
void setSnapHeightUnit(uint8_t unit) { SET_VAR(rareInheritedData, m_snapHeightUnit, unit); } |
+ void setSnapWidth(LayoutUnit unit) { SET_VAR(rareNonInheritedData, m_snapWidth, unit.rawValue()); } |
void setTabSize(TabSize size) { SET_VAR(rareInheritedData, m_tabSize, size); } |