| Index: Source/core/inspector/LayoutEditor.cpp
|
| diff --git a/Source/core/inspector/LayoutEditor.cpp b/Source/core/inspector/LayoutEditor.cpp
|
| index 81dc8cb7fb42aab04d74d65940af8627fbd0833e..a687d3401251a7f02694f155ebc44deb87482bca 100644
|
| --- a/Source/core/inspector/LayoutEditor.cpp
|
| +++ b/Source/core/inspector/LayoutEditor.cpp
|
| @@ -149,7 +149,7 @@ PassRefPtr<JSONObject> LayoutEditor::createValueDescription(const String& proper
|
| return nullptr;
|
|
|
| RefPtr<JSONObject> object = JSONObject::create();
|
| - object->setNumber("value", toCSSPrimitiveValue(cssValue)->getFloatValue());
|
| + object->setNumber("value", toCSSPrimitiveValue(*cssValue).getFloatValue());
|
| object->setString("unit", "px");
|
| return object.release();
|
| }
|
| @@ -166,7 +166,7 @@ void LayoutEditor::overlayStartedPropertyChange(const String& anchorName)
|
| return;
|
| }
|
|
|
| - m_propertyInitialValue = toCSSPrimitiveValue(cssValue)->getFloatValue();
|
| + m_propertyInitialValue = toCSSPrimitiveValue(*cssValue).getFloatValue();
|
| }
|
|
|
| void LayoutEditor::overlayPropertyChanged(float cssDelta)
|
|
|