Index: third_party/WebKit/Source/core/layout/LayoutReplaced.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutReplaced.cpp b/third_party/WebKit/Source/core/layout/LayoutReplaced.cpp |
index 7799e2c797554932438fbec73ca1a9ecd82f6bf7..e7e9af3b2815e0923c4fecb086b8680c98f58970 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutReplaced.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutReplaced.cpp |
@@ -489,7 +489,7 @@ void LayoutReplaced::computePositionedLogicalHeight(LogicalExtentComputedValues& |
LayoutRect LayoutReplaced::replacedContentRect(const LayoutSize* overriddenIntrinsicSize) const |
{ |
LayoutRect contentRect = contentBoxRect(); |
- ObjectFit objectFit = style()->objectFit(); |
+ ObjectFit objectFit = style()->getObjectFit(); |
if (objectFit == ObjectFitFill && style()->objectPosition() == ComputedStyle::initialObjectPosition()) { |
return contentRect; |