Index: Source/core/editing/EditorCommand.cpp |
diff --git a/Source/core/editing/EditorCommand.cpp b/Source/core/editing/EditorCommand.cpp |
index 23d4c6be6741e8018dfcfb38cf85c27a942549ff..304ad096cd96a207cffbbd155ce09e717c987c30 100644 |
--- a/Source/core/editing/EditorCommand.cpp |
+++ b/Source/core/editing/EditorCommand.cpp |
@@ -1064,7 +1064,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); |
+ RefPtrWillBeRawPtr<CSSPrimitiveValue> lineThrough = CSSPrimitiveValue::create(CSSValueLineThrough); |
return executeToggleStyleInList(frame, source, EditActionUnderline, CSSPropertyWebkitTextDecorationsInEffect, lineThrough.get()); |
} |
@@ -1119,7 +1119,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); |
+ RefPtrWillBeRawPtr<CSSPrimitiveValue> underline = CSSPrimitiveValue::create(CSSValueUnderline); |
return executeToggleStyleInList(frame, source, EditActionUnderline, CSSPropertyWebkitTextDecorationsInEffect, underline.get()); |
} |