| Index: Source/core/editing/commands/EditorCommand.cpp
|
| diff --git a/Source/core/editing/commands/EditorCommand.cpp b/Source/core/editing/commands/EditorCommand.cpp
|
| index e30bde9733a10e9451b2c2660ce7d048a18ced33..07819956e737a38da37ae75876b1d597560da8b2 100644
|
| --- a/Source/core/editing/commands/EditorCommand.cpp
|
| +++ b/Source/core/editing/commands/EditorCommand.cpp
|
| @@ -141,10 +141,10 @@ static bool executeToggleStyleInList(LocalFrame& frame, EditorCommandSource sour
|
| if (!selectionStyle || !selectionStyle->style())
|
| return false;
|
|
|
| - RefPtrWillBeRawPtr<CSSValue> selectedCSSValue = selectionStyle->style()->getPropertyCSSValue(propertyID);
|
| + RefPtr<CSSValue> selectedCSSValue = selectionStyle->style()->getPropertyCSSValue(propertyID);
|
| String newStyle("none");
|
| if (selectedCSSValue->isValueList()) {
|
| - RefPtrWillBeRawPtr<CSSValueList> selectedCSSValueList = toCSSValueList(selectedCSSValue.get());
|
| + RefPtr<CSSValueList> selectedCSSValueList = toCSSValueList(selectedCSSValue.get());
|
| if (!selectedCSSValueList->removeAll(value))
|
| selectedCSSValueList->append(value);
|
| if (selectedCSSValueList->length())
|
| @@ -1061,7 +1061,7 @@ static bool executeSetMark(LocalFrame& frame, Event*, EditorCommandSource, const
|
|
|
| static bool executeStrikethrough(LocalFrame& frame, Event*, EditorCommandSource source, const String&)
|
| {
|
| - RefPtrWillBeRawPtr<CSSPrimitiveValue> lineThrough = CSSPrimitiveValue::createIdentifier(CSSValueLineThrough);
|
| + RefPtr<CSSPrimitiveValue> lineThrough = CSSPrimitiveValue::createIdentifier(CSSValueLineThrough);
|
| return executeToggleStyleInList(frame, source, EditActionUnderline, CSSPropertyWebkitTextDecorationsInEffect, lineThrough.get());
|
| }
|
|
|
| @@ -1116,7 +1116,7 @@ static bool executeTranspose(LocalFrame& frame, Event*, EditorCommandSource, con
|
|
|
| static bool executeUnderline(LocalFrame& frame, Event*, EditorCommandSource source, const String&)
|
| {
|
| - RefPtrWillBeRawPtr<CSSPrimitiveValue> underline = CSSPrimitiveValue::createIdentifier(CSSValueUnderline);
|
| + RefPtr<CSSPrimitiveValue> underline = CSSPrimitiveValue::createIdentifier(CSSValueUnderline);
|
| return executeToggleStyleInList(frame, source, EditActionUnderline, CSSPropertyWebkitTextDecorationsInEffect, underline.get());
|
| }
|
|
|
|
|