Index: Source/core/css/CSSComputedStyleDeclaration.cpp |
diff --git a/Source/core/css/CSSComputedStyleDeclaration.cpp b/Source/core/css/CSSComputedStyleDeclaration.cpp |
index efb9963d1792cab24c422a8205be7a0f940a75da..81b316d8cb5f1ec0b206e6b560085ee5370cd711 100644 |
--- a/Source/core/css/CSSComputedStyleDeclaration.cpp |
+++ b/Source/core/css/CSSComputedStyleDeclaration.cpp |
@@ -410,7 +410,7 @@ static CSSValueID cssIdentifierForFontSizeKeyword(int keywordSize) |
return static_cast<CSSValueID>(CSSValueXxSmall + keywordSize - 1); |
} |
-inline static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> zoomAdjustedPixelValue(double value, const ComputedStyle& style) |
+inline static CSSPrimitiveValue zoomAdjustedPixelValue(double value, const ComputedStyle& style) |
{ |
return cssValuePool().createValue(adjustFloatForAbsoluteZoom(value, style), CSSPrimitiveValue::CSS_PX); |
} |
@@ -610,7 +610,7 @@ bool CSSComputedStyleDeclaration::cssPropertyMatches(CSSPropertyID propertyID, c |
const ComputedStyle* style = m_node->ensureComputedStyle(m_pseudoElementSpecifier); |
if (style && style->fontDescription().keywordSize()) { |
CSSValueID sizeValue = cssIdentifierForFontSizeKeyword(style->fontDescription().keywordSize()); |
- const CSSPrimitiveValue& primitiveValue = toCSSPrimitiveValue(propertyValue); |
+ const CSSPrimitiveValue primitiveValue = toCSSPrimitiveValue(propertyValue); |
if (primitiveValue.isValueID() && primitiveValue.getValueID() == sizeValue) |
return true; |
} |