| Index: third_party/WebKit/Source/core/editing/EditingStyle.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/EditingStyle.cpp b/third_party/WebKit/Source/core/editing/EditingStyle.cpp
|
| index 8879597156527fa5dac0905251dd4c470c3b1b94..069f575ad51d41ca8ce0720cab5980e861eab9d3 100644
|
| --- a/third_party/WebKit/Source/core/editing/EditingStyle.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/EditingStyle.cpp
|
| @@ -355,38 +355,24 @@ CSSValue* HTMLFontSizeEquivalent::attributeValueAsCSSValue(Element* element) con
|
|
|
| float EditingStyle::NoFontDelta = 0.0f;
|
|
|
| -EditingStyle::EditingStyle()
|
| - : m_isMonospaceFont(false)
|
| - , m_fontSizeDelta(NoFontDelta)
|
| -{
|
| -}
|
| -
|
| EditingStyle::EditingStyle(ContainerNode* node, PropertiesToInclude propertiesToInclude)
|
| - : m_isMonospaceFont(false)
|
| - , m_fontSizeDelta(NoFontDelta)
|
| {
|
| init(node, propertiesToInclude);
|
| }
|
|
|
| EditingStyle::EditingStyle(const Position& position, PropertiesToInclude propertiesToInclude)
|
| - : m_isMonospaceFont(false)
|
| - , m_fontSizeDelta(NoFontDelta)
|
| {
|
| init(position.anchorNode(), propertiesToInclude);
|
| }
|
|
|
| EditingStyle::EditingStyle(const StylePropertySet* style)
|
| : m_mutableStyle(style ? style->mutableCopy() : nullptr)
|
| - , m_isMonospaceFont(false)
|
| - , m_fontSizeDelta(NoFontDelta)
|
| {
|
| extractFontSizeDelta();
|
| }
|
|
|
| EditingStyle::EditingStyle(CSSPropertyID propertyID, const String& value)
|
| : m_mutableStyle(nullptr)
|
| - , m_isMonospaceFont(false)
|
| - , m_fontSizeDelta(NoFontDelta)
|
| {
|
| setProperty(propertyID, value);
|
| m_isVerticalAlign = propertyID == CSSPropertyVerticalAlign && (value == "sub" || value == "super");
|
|
|