| Index: third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
| index 4f781030aa264caee198e6375e5fe744abc1646f..552011a26d2370825109f709ecd4b341f8604ade 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
| @@ -17,6 +17,7 @@
|
| #include "core/layout/svg/SVGLayoutSupport.h"
|
| #include "core/layout/svg/SVGResources.h"
|
| #include "core/layout/svg/SVGResourcesCache.h"
|
| +#include "core/paint/FindPaintOffsetAndVisualRectNeedingUpdate.h"
|
| #include "core/paint/FindPropertiesNeedingUpdate.h"
|
| #include "core/paint/ObjectPaintProperties.h"
|
| #include "core/paint/PaintLayer.h"
|
| @@ -1048,6 +1049,10 @@ void PaintPropertyTreeBuilder::updatePaintOffset(
|
| void PaintPropertyTreeBuilder::updateForObjectLocationAndSize(
|
| const LayoutObject& object,
|
| PaintPropertyTreeBuilderContext& context) {
|
| +#if DCHECK_IS_ON()
|
| + FindPaintOffsetNeedingUpdateScope checkScope(object, context);
|
| +#endif
|
| +
|
| if (object.isBoxModelObject()) {
|
| updatePaintOffset(toLayoutBoxModelObject(object), context);
|
| updatePaintOffsetTranslation(toLayoutBoxModelObject(object), context);
|
|
|