Index: Source/core/rendering/RenderFlexibleBox.cpp |
diff --git a/Source/core/rendering/RenderFlexibleBox.cpp b/Source/core/rendering/RenderFlexibleBox.cpp |
index faff63cc332575ce84bb1b4cb80c6037e17c17d7..53133d389c27cadc8d53adca5b66dc8b1581a1fb 100644 |
--- a/Source/core/rendering/RenderFlexibleBox.cpp |
+++ b/Source/core/rendering/RenderFlexibleBox.cpp |
@@ -604,7 +604,7 @@ LayoutUnit RenderFlexibleBox::preferredMainAxisContentExtentForChild(RenderBox& |
{ |
child.clearOverrideSize(); |
- if (child.style()->hasAspectRatio() || child.isImage() || child.isVideo() || child.isCanvas()) |
+ if (child.isImage() || child.isVideo() || child.isCanvas()) |
UseCounter::count(document(), UseCounter::AspectRatioFlexItem); |
Length flexBasis = flexBasisForChild(child); |