| Index: third_party/WebKit/Source/core/paint/BlockPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/BlockPainter.cpp b/third_party/WebKit/Source/core/paint/BlockPainter.cpp
|
| index a6154a5a7b35cb8668c9b18ae76c2babab9c7f58..7ae66912eca9b24578bbc939b8314dd97dba376a 100644
|
| --- a/third_party/WebKit/Source/core/paint/BlockPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/BlockPainter.cpp
|
| @@ -202,14 +202,12 @@ void BlockPainter::paintObject(const PaintInfo& paintInfo,
|
| Optional<PaintInfo> scrolledPaintInfo;
|
| if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) {
|
| const auto* objectProperties = m_layoutBlock.paintProperties();
|
| - if (auto* scroll =
|
| - objectProperties ? objectProperties->scroll() : nullptr) {
|
| + auto* scrollTranslation =
|
| + objectProperties ? objectProperties->scrollTranslation() : nullptr;
|
| + if (scrollTranslation) {
|
| PaintChunkProperties properties(paintInfo.context.getPaintController()
|
| .currentPaintChunkProperties());
|
| - auto* scrollTranslation = objectProperties->scrollTranslation();
|
| - DCHECK(scrollTranslation);
|
| properties.propertyTreeState.setTransform(scrollTranslation);
|
| - properties.propertyTreeState.setScroll(scroll);
|
| m_scopedScrollProperty.emplace(
|
| paintInfo.context.getPaintController(), m_layoutBlock,
|
| DisplayItem::paintPhaseToDrawingType(paintPhase), properties);
|
|
|