| Index: third_party/WebKit/Source/core/layout/LayoutImage.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutImage.cpp b/third_party/WebKit/Source/core/layout/LayoutImage.cpp
|
| index 3b19099cce7b1dd8fe345ccdd87068ffb69bb2a8..1671f5d793b3d035b3bef75919555749bd6e8917 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutImage.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutImage.cpp
|
| @@ -289,7 +289,7 @@ void LayoutImage::computeIntrinsicRatioInformation(FloatSize& intrinsicSize, dou
|
| LayoutReplaced::computeIntrinsicRatioInformation(intrinsicSize, intrinsicRatio);
|
|
|
| // Our intrinsicSize is empty if we're laying out generated images with relative width/height. Figure out the right intrinsic size to use.
|
| - if (intrinsicSize.isEmpty() && (m_imageResource->imageHasRelativeWidth() || m_imageResource->imageHasRelativeHeight())) {
|
| + if (intrinsicSize.isEmpty() && m_imageResource->imageHasRelativeSize()) {
|
| LayoutObject* containingBlock = isOutOfFlowPositioned() ? container() : this->containingBlock();
|
| if (containingBlock->isBox()) {
|
| LayoutBox* box = toLayoutBox(containingBlock);
|
|
|