| 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 6baebf02bfb5a7794626ffa4a5af5af5d5137593..93fff8b72d83986101740fbb707b925ddbabf3d4 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
| @@ -219,10 +219,6 @@ void PaintPropertyTreeBuilder::updatePaintOffsetTranslation(
|
| usesPaintOffsetTranslation = true;
|
| } else if (object.isBoxModelObject() &&
|
| context.current.paintOffset != LayoutPoint()) {
|
| - // TODO(trchen): Eliminate PaintLayer dependency.
|
| - // TODO(chrishtr): When changing the condition here, make sure to update
|
| - // the condition in LayoutBoxModelObject::styleDidChange() above
|
| - // setNeedsPaintPropertyUpdate().
|
| PaintLayer* layer = toLayoutBoxModelObject(object).layer();
|
| if (layer &&
|
| layer->paintsWithTransform(GlobalPaintFlattenCompositingLayers))
|
|
|