Index: Source/core/editing/markup.cpp |
diff --git a/Source/core/editing/markup.cpp b/Source/core/editing/markup.cpp |
index 1e766c5182d30516531d6fd7b88ffeb3b4e707ea..0406263942a989f9537a3330eee6f93a28f0d34b 100644 |
--- a/Source/core/editing/markup.cpp |
+++ b/Source/core/editing/markup.cpp |
@@ -162,12 +162,12 @@ bool propertyMissingOrEqualToNone(StylePropertySet* style, CSSPropertyID propert |
{ |
if (!style) |
return false; |
- NullableCSSValue value = style->getPropertyCSSValue(propertyID); |
+ const NullableCSSValue& value = style->getPropertyCSSValue(propertyID); |
if (!value) |
return true; |
if (!value->isPrimitiveValue()) |
return false; |
- return toCSSPrimitiveValue(*value).getValueID() == CSSValueNone; |
+ return toCSSPrimitiveValue(value).getValueID() == CSSValueNone; |
} |
static bool isPresentationalHTMLElement(const Node* node) |