Index: Source/core/layout/LayoutBox.cpp |
diff --git a/Source/core/layout/LayoutBox.cpp b/Source/core/layout/LayoutBox.cpp |
index aaf15908b75400b2c123c6183c0c7757ec23d129..43796b26204243d7c9444d7a89fe266d545f2346 100644 |
--- a/Source/core/layout/LayoutBox.cpp |
+++ b/Source/core/layout/LayoutBox.cpp |
@@ -53,6 +53,7 @@ |
#include "core/layout/LayoutTableCell.h" |
#include "core/layout/LayoutView.h" |
#include "core/layout/compositing/DeprecatedPaintLayerCompositor.h" |
+#include "core/layout/shapes/ShapeOutsideInfo.h" |
#include "core/page/AutoscrollController.h" |
#include "core/page/Page.h" |
#include "core/paint/BackgroundImageGeometry.h" |
@@ -4775,4 +4776,9 @@ bool LayoutBox::canRenderBorderImage() const |
return borderImage && borderImage->canRender(*this, style()->effectiveZoom()) && borderImage->isLoaded(); |
} |
+ShapeOutsideInfo* LayoutBox::shapeOutsideInfo() const |
+{ |
+ return ShapeOutsideInfo::isEnabledFor(*this) ? ShapeOutsideInfo::info(*this) : nullptr; |
+} |
+ |
} // namespace blink |