| Index: third_party/WebKit/Source/core/style/StyleRareInheritedData.h
|
| diff --git a/third_party/WebKit/Source/core/style/StyleRareInheritedData.h b/third_party/WebKit/Source/core/style/StyleRareInheritedData.h
|
| index 0bde7eb7a7389858d72def9cabeca9aff1146526..e40d24541f5fde5337f8c0ffe21d1e292154922a 100644
|
| --- a/third_party/WebKit/Source/core/style/StyleRareInheritedData.h
|
| +++ b/third_party/WebKit/Source/core/style/StyleRareInheritedData.h
|
| @@ -50,6 +50,27 @@ class StyleInheritedVariables;
|
| typedef RefVector<AppliedTextDecoration> AppliedTextDecorationList;
|
| typedef HeapVector<CursorData> CursorList;
|
|
|
| +class UnzoomedLength {
|
| + DISALLOW_NEW();
|
| +
|
| + public:
|
| + explicit UnzoomedLength(const Length& length) : m_length(length) {}
|
| +
|
| + bool isZero() const { return m_length.isZero(); }
|
| +
|
| + bool operator==(const UnzoomedLength& other) const {
|
| + return m_length == other.m_length;
|
| + }
|
| + bool operator!=(const UnzoomedLength& other) const {
|
| + return !operator==(other);
|
| + }
|
| +
|
| + const Length& length() const { return m_length; }
|
| +
|
| + private:
|
| + Length m_length;
|
| +};
|
| +
|
| // This struct is for rarely used inherited CSS3, CSS2, and WebKit-specific
|
| // properties. By grouping them together, we save space, and only allocate this
|
| // object when someone actually uses one of these properties.
|
| @@ -220,6 +241,11 @@ class CORE_EXPORT StyleRareInheritedData
|
|
|
| unsigned m_respectImageOrientation : 1;
|
|
|
| + unsigned paintOrder : 3; // EPaintOrder
|
| + unsigned capStyle : 2; // LineCap
|
| + unsigned joinStyle : 2; // LineJoin
|
| + UnzoomedLength strokeWidth;
|
| +
|
| AtomicString hyphenationString;
|
| short hyphenationLimitBefore;
|
| short hyphenationLimitAfter;
|
|
|