| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp
|
| index fbe5909f7a0917a37e843ac9a56c9a385ae59861..8b4b9234e4b695feea54179e75fb9be8b2588210 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp
|
| @@ -122,10 +122,6 @@ LayoutUnit LayoutSVGRoot::computeReplacedLogicalWidth(ShouldComputePreferred sho
|
| if (isEmbeddedThroughFrameContainingSVGDocument())
|
| return containingBlock()->availableLogicalWidth();
|
|
|
| - if (style()->logicalWidth().isSpecified() || style()->logicalMaxWidth().isSpecified())
|
| - return LayoutReplaced::computeReplacedLogicalWidth(shouldComputePreferred);
|
| -
|
| - // SVG embedded via SVGImage (background-image/border-image/etc) / Inline SVG.
|
| return LayoutReplaced::computeReplacedLogicalWidth(shouldComputePreferred);
|
| }
|
|
|
| @@ -138,10 +134,6 @@ LayoutUnit LayoutSVGRoot::computeReplacedLogicalHeight() const
|
| if (isEmbeddedThroughFrameContainingSVGDocument())
|
| return containingBlock()->availableLogicalHeight(IncludeMarginBorderPadding);
|
|
|
| - if (style()->logicalHeight().isSpecified() || style()->logicalMaxHeight().isSpecified())
|
| - return LayoutReplaced::computeReplacedLogicalHeight();
|
| -
|
| - // SVG embedded via SVGImage (background-image/border-image/etc) / Inline SVG.
|
| return LayoutReplaced::computeReplacedLogicalHeight();
|
| }
|
|
|
|
|