| Index: Source/core/editing/EditingStyle.cpp
|
| diff --git a/Source/core/editing/EditingStyle.cpp b/Source/core/editing/EditingStyle.cpp
|
| index 55a91b679c346e5058a8ee2b0840563e3f9535a9..5c8098a5a53de4320fa46ed5b7e5ab56dd99e250 100644
|
| --- a/Source/core/editing/EditingStyle.cpp
|
| +++ b/Source/core/editing/EditingStyle.cpp
|
| @@ -294,7 +294,7 @@ PassRefPtrWillBeRawPtr<CSSValue> HTMLAttributeEquivalent::attributeValueAsCSSVal
|
| if (value.isNull())
|
| return nullptr;
|
|
|
| - RefPtrWillBeRawPtr<MutableStylePropertySet> dummyStyle;
|
| + RefPtrWillBeRawPtr<MutableStylePropertySet> dummyStyle = nullptr;
|
| dummyStyle = MutableStylePropertySet::create();
|
| dummyStyle->setProperty(m_propertyID, value);
|
| return dummyStyle->getPropertyCSSValue(m_propertyID);
|
| @@ -939,8 +939,8 @@ void EditingStyle::prepareToApplyAt(const Position& position, ShouldPreserveWrit
|
| RefPtr<EditingStyle> editingStyleAtPosition = EditingStyle::create(position, EditingPropertiesInEffect);
|
| StylePropertySet* styleAtPosition = editingStyleAtPosition->m_mutableStyle.get();
|
|
|
| - RefPtrWillBeRawPtr<CSSValue> unicodeBidi;
|
| - RefPtrWillBeRawPtr<CSSValue> direction;
|
| + RefPtrWillBeRawPtr<CSSValue> unicodeBidi = nullptr;
|
| + RefPtrWillBeRawPtr<CSSValue> direction = nullptr;
|
| if (shouldPreserveWritingDirection == PreserveWritingDirection) {
|
| unicodeBidi = m_mutableStyle->getPropertyCSSValue(CSSPropertyUnicodeBidi);
|
| direction = m_mutableStyle->getPropertyCSSValue(CSSPropertyDirection);
|
|
|