| 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 d5c340de55a4910712edc687c6f42d7c54ba5126..194897c21693cb888625043369ac0a8770d8ce72 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutImage.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutImage.cpp
|
| @@ -240,7 +240,7 @@ bool LayoutImage::foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect,
|
| if (style()->objectPosition() != ComputedStyle::initialObjectPosition())
|
| return false;
|
| // Object-fit may leave parts of the content box empty.
|
| - ObjectFit objectFit = style()->objectFit();
|
| + ObjectFit objectFit = style()->getObjectFit();
|
| if (objectFit != ObjectFitFill && objectFit != ObjectFitCover)
|
| return false;
|
| if (!m_imageResource->cachedImage())
|
|
|