| Index: Source/core/svg/SVGViewSpec.h
|
| diff --git a/Source/core/svg/SVGViewSpec.h b/Source/core/svg/SVGViewSpec.h
|
| index c4a393eab97c355924da48e86a69952ce9fd0283..1d078452e18358db31fcfc8b7590433bc5978bbc 100644
|
| --- a/Source/core/svg/SVGViewSpec.h
|
| +++ b/Source/core/svg/SVGViewSpec.h
|
| @@ -77,7 +77,7 @@ private:
|
| template <typename T>
|
| void SVGViewSpec::inheritViewAttributesFromElement(T* inheritFromElement)
|
| {
|
| - if (inheritFromElement->hasAttribute(SVGNames::viewBoxAttr))
|
| + if (!inheritFromElement->hasEmptyViewBox())
|
| viewBox()->baseValue()->setValue(inheritFromElement->viewBox()->currentValue()->value());
|
|
|
| if (inheritFromElement->hasAttribute(SVGNames::preserveAspectRatioAttr)) {
|
|
|