Index: Source/core/layout/LayoutImage.cpp |
diff --git a/Source/core/layout/LayoutImage.cpp b/Source/core/layout/LayoutImage.cpp |
index da2e2b9017fb170f3c29de4a777b622ee82e1ab7..89f997be05fdc7a05f5800ed452943fc16cf154b 100644 |
--- a/Source/core/layout/LayoutImage.cpp |
+++ b/Source/core/layout/LayoutImage.cpp |
@@ -262,7 +262,7 @@ bool LayoutImage::foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect, |
if ((backgroundClip == BorderFillBox || backgroundClip == PaddingFillBox) && style()->hasPadding()) |
return false; |
// Object-position may leave parts of the content box empty, regardless of the value of object-fit. |
- if (style()->objectPosition() != LayoutStyle::initialObjectPosition()) |
+ if (style()->objectPosition() != ComputedStyle::initialObjectPosition()) |
return false; |
// Object-fit may leave parts of the content box empty. |
ObjectFit objectFit = style()->objectFit(); |