| Index: Source/core/layout/api/LineLayoutBoxModel.h
|
| diff --git a/Source/core/layout/api/LineLayoutBoxModel.h b/Source/core/layout/api/LineLayoutBoxModel.h
|
| index be126265f1090362c41d3b71b077452cc2c6f85e..a97d885b59e761efbf70e0fba004cdbac00d7549 100644
|
| --- a/Source/core/layout/api/LineLayoutBoxModel.h
|
| +++ b/Source/core/layout/api/LineLayoutBoxModel.h
|
| @@ -133,11 +133,21 @@ public:
|
| return toBoxModel()->borderAndPaddingLogicalHeight();
|
| }
|
|
|
| + bool boxShadowShouldBeAppliedToBackground(BackgroundBleedAvoidance bleedAvoidance, InlineFlowBox* inlineFlowBox = nullptr) const
|
| + {
|
| + return toBoxModel()->boxShadowShouldBeAppliedToBackground(bleedAvoidance, inlineFlowBox);
|
| + }
|
| +
|
| private:
|
| LayoutBoxModelObject* toBoxModel() { return toLayoutBoxModelObject(layoutObject()); }
|
| const LayoutBoxModelObject* toBoxModel() const { return toLayoutBoxModelObject(layoutObject()); }
|
| };
|
|
|
| +inline LineLayoutBoxModel LineLayoutItem::enclosingBoxModelObject() const
|
| +{
|
| + return LineLayoutBoxModel(layoutObject()->enclosingBoxModelObject());
|
| +}
|
| +
|
| } // namespace blink
|
|
|
| #endif // LineLayoutBoxModel_h
|
|
|