| Index: Source/platform/text/TextRun.h
|
| diff --git a/Source/platform/text/TextRun.h b/Source/platform/text/TextRun.h
|
| index df59f33ee7415fee5fc21c29a24ed394db43f3e8..8eca85b91dd6c042813ef9143334cc5f5d78d688 100644
|
| --- a/Source/platform/text/TextRun.h
|
| +++ b/Source/platform/text/TextRun.h
|
| @@ -77,6 +77,7 @@ public:
|
| , m_applyRunRounding((roundingHacks & RunRounding) && s_allowsRoundingHacks)
|
| , m_applyWordRounding((roundingHacks & WordRounding) && s_allowsRoundingHacks)
|
| , m_disableSpacing(false)
|
| + , m_distributeJustification(false)
|
| , m_tabSize(0)
|
| {
|
| m_data.characters8 = c;
|
| @@ -97,6 +98,7 @@ public:
|
| , m_applyRunRounding((roundingHacks & RunRounding) && s_allowsRoundingHacks)
|
| , m_applyWordRounding((roundingHacks & WordRounding) && s_allowsRoundingHacks)
|
| , m_disableSpacing(false)
|
| + , m_distributeJustification(false)
|
| , m_tabSize(0)
|
| {
|
| m_data.characters16 = c;
|
| @@ -116,6 +118,7 @@ public:
|
| , m_applyRunRounding((roundingHacks & RunRounding) && s_allowsRoundingHacks)
|
| , m_applyWordRounding((roundingHacks & WordRounding) && s_allowsRoundingHacks)
|
| , m_disableSpacing(false)
|
| + , m_distributeJustification(false)
|
| , m_tabSize(0)
|
| {
|
| if (!m_charactersLength) {
|
| @@ -144,6 +147,7 @@ public:
|
| , m_applyRunRounding((roundingHacks & RunRounding) && s_allowsRoundingHacks)
|
| , m_applyWordRounding((roundingHacks & WordRounding) && s_allowsRoundingHacks)
|
| , m_disableSpacing(false)
|
| + , m_distributeJustification(false)
|
| , m_tabSize(0)
|
| {
|
| if (!m_charactersLength) {
|
| @@ -198,6 +202,8 @@ public:
|
| float xPos() const { return m_xpos; }
|
| void setXPos(float xPos) { m_xpos = xPos; }
|
| float expansion() const { return m_expansion; }
|
| + bool isDistributeJustification() const { return m_distributeJustification; }
|
| + void setDistributeJustification(bool distributeJustification) { m_distributeJustification = distributeJustification; }
|
| bool allowsLeadingExpansion() const { return m_expansionBehavior & AllowLeadingExpansion; }
|
| bool allowsTrailingExpansion() const { return m_expansionBehavior & AllowTrailingExpansion; }
|
| TextDirection direction() const { return static_cast<TextDirection>(m_direction); }
|
| @@ -256,6 +262,7 @@ private:
|
| unsigned m_applyRunRounding : 1;
|
| unsigned m_applyWordRounding : 1;
|
| unsigned m_disableSpacing : 1;
|
| + unsigned m_distributeJustification : 1;
|
| unsigned m_tabSize;
|
| RefPtr<RenderingContext> m_renderingContext;
|
| };
|
|
|