| 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 8794b9f888d6e890ee13c714dc8fc5eb1d361005..a0a17d3962ef13e7d138575fc7b25be600a0f5ca 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
| @@ -796,14 +796,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;
|
| @@ -889,8 +888,6 @@ void PaintPropertyTreeBuilder::updatePropertiesForSelf(
|
| FindObjectPropertiesNeedingUpdateScope checkNeedsUpdateScope(object, context);
|
| #endif
|
|
|
| - deriveBorderBoxFromContainerContext(object, context);
|
| -
|
| updatePaintOffsetTranslation(object, context);
|
| updateTransform(object, context);
|
| updateEffect(object, context);
|
|
|