Index: Source/core/editing/commands/ApplyStyleCommand.cpp |
diff --git a/Source/core/editing/commands/ApplyStyleCommand.cpp b/Source/core/editing/commands/ApplyStyleCommand.cpp |
index 8ed28c4947c7b86555a122cac76ed2b1fe1e57af..4b52107a0f2252fb9827a906d469327854f86913 100644 |
--- a/Source/core/editing/commands/ApplyStyleCommand.cpp |
+++ b/Source/core/editing/commands/ApplyStyleCommand.cpp |
@@ -417,7 +417,7 @@ void ApplyStyleCommand::applyRelativeFontStyleChange(EditingStyle* style) |
RefPtrWillBeRawPtr<MutableStylePropertySet> inlineStyle = copyStyleOrCreateEmpty(element->inlineStyle()); |
float currentFontSize = computedFontSize(node); |
float desiredFontSize = max(MinimumFontSize, startingFontSizes.get(node) + style->fontSizeDelta()); |
- RefPtrWillBeRawPtr<CSSValue> value = inlineStyle->getPropertyCSSValue(CSSPropertyFontSize); |
+ RefPtr<CSSValue> value = inlineStyle->getPropertyCSSValue(CSSPropertyFontSize); |
if (value) { |
element->removeInlineStyleProperty(CSSPropertyFontSize); |
currentFontSize = computedFontSize(node); |
@@ -1547,7 +1547,7 @@ float ApplyStyleCommand::computedFontSize(Node* node) |
if (!style) |
return 0; |
- RefPtrWillBeRawPtr<CSSPrimitiveValue> value = static_pointer_cast<CSSPrimitiveValue>(style->getPropertyCSSValue(CSSPropertyFontSize)); |
+ RefPtr<CSSPrimitiveValue> value = static_pointer_cast<CSSPrimitiveValue>(style->getPropertyCSSValue(CSSPropertyFontSize)); |
if (!value) |
return 0; |