Index: Source/core/editing/EditorCommand.cpp |
diff --git a/Source/core/editing/EditorCommand.cpp b/Source/core/editing/EditorCommand.cpp |
index 9b8268effcfe3ffd002e56dcdb4bc3d5a75981b3..925851b70ea343bdfd36951fe4526cb705c71e97 100644 |
--- a/Source/core/editing/EditorCommand.cpp |
+++ b/Source/core/editing/EditorCommand.cpp |
@@ -141,7 +141,7 @@ static bool executeToggleStyleInList(LocalFrame& frame, EditorCommandSource sour |
if (!selectionStyle || !selectionStyle->style()) |
return false; |
- NullableCSSValue selectedCSSValue = selectionStyle->style()->getPropertyCSSValue(propertyID); |
+ const NullableCSSValue& selectedCSSValue = selectionStyle->style()->getPropertyCSSValue(propertyID); |
String newStyle("none"); |
if (selectedCSSValue && selectedCSSValue->isValueList()) { |
RefPtrWillBeRawPtr<CSSValueList> selectedCSSValueList = toCSSValueList(selectedCSSValue); |