| 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 e388aaff88dbc94db86bc74a32d1a0c531bf55e1..c60fd266c1d15a278ee85f5070a2bb1a1fb92523 100644
 | 
| --- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
 | 
| +++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
 | 
| @@ -218,8 +218,12 @@ void PaintPropertyTreeBuilder::updatePaintOffsetTranslation(
 | 
|    } 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(GlobalPaintNormalPhase))
 | 
| +    if (layer &&
 | 
| +        layer->paintsWithTransform(GlobalPaintFlattenCompositingLayers))
 | 
|        usesPaintOffsetTranslation = true;
 | 
|    }
 | 
|  
 | 
| 
 |