Index: Source/core/editing/EditorCommand.cpp |
diff --git a/Source/core/editing/EditorCommand.cpp b/Source/core/editing/EditorCommand.cpp |
index 55a45a821997c6d3657c27a30a0de851787f6fff..9b8268effcfe3ffd002e56dcdb4bc3d5a75981b3 100644 |
--- a/Source/core/editing/EditorCommand.cpp |
+++ b/Source/core/editing/EditorCommand.cpp |
@@ -1117,8 +1117,8 @@ static bool executeTranspose(LocalFrame& frame, Event*, EditorCommandSource, con |
static bool executeUnderline(LocalFrame& frame, Event*, EditorCommandSource source, const String&) |
{ |
- RefPtrWillBeRawPtr<CSSPrimitiveValue> underline = CSSPrimitiveValue::createIdentifier(CSSValueUnderline); |
- return executeToggleStyleInList(frame, source, EditActionUnderline, CSSPropertyWebkitTextDecorationsInEffect, CSSValue(*underline)); |
+ CSSPrimitiveValue underline = CSSPrimitiveValue::createIdentifier(CSSValueUnderline); |
+ return executeToggleStyleInList(frame, source, EditActionUnderline, CSSPropertyWebkitTextDecorationsInEffect, underline); |
} |
static bool executeUndo(LocalFrame& frame, Event*, EditorCommandSource, const String&) |