| Index: third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp b/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
|
| index aaccff3a99f7516d92b398f7d484a43982bbf4e2..bfdb3ff702b6382718a5f6a3691d69c07f3aa018 100644
|
| --- a/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
|
| @@ -401,21 +401,6 @@ FrameView* SVGImage::frameView() const
|
| return toLocalFrame(m_page->mainFrame())->view();
|
| }
|
|
|
| -void SVGImage::computeIntrinsicDimensions(FloatSize& intrinsicSize, FloatSize& intrinsicRatio)
|
| -{
|
| - SVGSVGElement* rootElement = svgRootElement(m_page.get());
|
| - if (!rootElement)
|
| - return;
|
| -
|
| - intrinsicSize = FloatSize(rootElement->intrinsicWidth(), rootElement->intrinsicHeight());
|
| - if (rootElement->preserveAspectRatio()->currentValue()->align() == SVGPreserveAspectRatio::SVG_PRESERVEASPECTRATIO_NONE)
|
| - return;
|
| -
|
| - intrinsicRatio = rootElement->viewBox()->currentValue()->value().size();
|
| - if (intrinsicRatio.isEmpty())
|
| - intrinsicRatio = intrinsicSize;
|
| -}
|
| -
|
| // FIXME: support CatchUpAnimation = CatchUp.
|
| void SVGImage::startAnimation(CatchUpAnimation)
|
| {
|
|
|