| Index: Source/core/inspector/LayoutEditor.cpp
|
| diff --git a/Source/core/inspector/LayoutEditor.cpp b/Source/core/inspector/LayoutEditor.cpp
|
| index 180fb21b5bba6efd69f7af6df1471f7b08fc39d4..1f4f2d307a06a65719ba73963b10fcf886bec20a 100644
|
| --- a/Source/core/inspector/LayoutEditor.cpp
|
| +++ b/Source/core/inspector/LayoutEditor.cpp
|
| @@ -190,13 +190,13 @@ PassRefPtr<JSONObject> LayoutEditor::buildJSONInfo() const
|
| return object.release();
|
| }
|
|
|
| -RefPtrWillBeRawPtr<CSSPrimitiveValue> LayoutEditor::getPropertyCSSValue(CSSPropertyID property) const
|
| +RefPtr<CSSPrimitiveValue> LayoutEditor::getPropertyCSSValue(CSSPropertyID property) const
|
| {
|
| RefPtrWillBeRawPtr<CSSStyleDeclaration> style = m_cssAgent->findEffectiveDeclaration(m_element.get(), property);
|
| if (!style)
|
| return nullptr;
|
|
|
| - RefPtrWillBeRawPtr<CSSValue> cssValue = style->getPropertyCSSValueInternal(property);
|
| + RefPtr<CSSValue> cssValue = style->getPropertyCSSValueInternal(property);
|
| if (!cssValue || !cssValue->isPrimitiveValue())
|
| return nullptr;
|
|
|
| @@ -205,7 +205,7 @@ RefPtrWillBeRawPtr<CSSPrimitiveValue> LayoutEditor::getPropertyCSSValue(CSSPrope
|
|
|
| PassRefPtr<JSONObject> LayoutEditor::createValueDescription(const String& propertyName) const
|
| {
|
| - RefPtrWillBeRawPtr<CSSPrimitiveValue> cssValue = getPropertyCSSValue(cssPropertyID(propertyName));
|
| + RefPtr<CSSPrimitiveValue> cssValue = getPropertyCSSValue(cssPropertyID(propertyName));
|
| if (cssValue && !(cssValue->isLength() || cssValue->isPercentage()))
|
| return nullptr;
|
|
|
| @@ -231,7 +231,7 @@ void LayoutEditor::overlayStartedPropertyChange(const String& anchorName)
|
| if (!m_element || !m_changingProperty)
|
| return;
|
|
|
| - RefPtrWillBeRawPtr<CSSPrimitiveValue> cssValue = getPropertyCSSValue(m_changingProperty);
|
| + RefPtr<CSSPrimitiveValue> cssValue = getPropertyCSSValue(m_changingProperty);
|
| m_valueUnitType = cssValue ? cssValue->typeWithCalcResolved() : CSSPrimitiveValue::UnitType::Pixels;
|
| if (!isMutableUnitType(m_valueUnitType))
|
| return;
|
|
|