| 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 a74a9cfe47f342619f3ad508defa9d46070900ec..6d5d8372ca612b3bae4e2f25068a9deed27978aa 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
| @@ -791,14 +791,13 @@ static void overrideContaineringBlockContextFromRealContainingBlock(
|
| context.scroll = properties->propertyTreeState.scroll();
|
| }
|
|
|
| -static void deriveBorderBoxFromContainerContext(
|
| +void PaintPropertyTreeBuilder::updateContextForBoxPosition(
|
| const LayoutObject& object,
|
| PaintPropertyTreeBuilderContext& context) {
|
| if (!object.isBoxModelObject())
|
| return;
|
|
|
| const LayoutBoxModelObject& boxModelObject = toLayoutBoxModelObject(object);
|
| -
|
| switch (object.styleRef().position()) {
|
| case StaticPosition:
|
| break;
|
| @@ -884,8 +883,6 @@ void PaintPropertyTreeBuilder::updatePropertiesForSelf(
|
| FindObjectPropertiesNeedingUpdateScope checkNeedsUpdateScope(object, context);
|
| #endif
|
|
|
| - deriveBorderBoxFromContainerContext(object, context);
|
| -
|
| updatePaintOffsetTranslation(object, context);
|
| updateTransform(object, context);
|
| updateEffect(object, context);
|
|
|