Chromium Code Reviews| Index: third_party/WebKit/Source/core/paint/FramePainter.cpp |
| diff --git a/third_party/WebKit/Source/core/paint/FramePainter.cpp b/third_party/WebKit/Source/core/paint/FramePainter.cpp |
| index 5a62f2613f6d7a56c6a14e6f9c96992601257b94..20dc935cca7e839d66904f78c61840724ab75510 100644 |
| --- a/third_party/WebKit/Source/core/paint/FramePainter.cpp |
| +++ b/third_party/WebKit/Source/core/paint/FramePainter.cpp |
| @@ -103,10 +103,6 @@ void FramePainter::paint(GraphicsContext& context, |
| properties.propertyTreeState.setClip( |
| m_frameView->contentClip()->parent()); |
| properties.propertyTreeState.setEffect(contentsState->effect()); |
| - auto* scrollBarScroll = contentsState->scroll(); |
| - if (m_frameView->scroll()) |
| - scrollBarScroll = m_frameView->scroll()->parent(); |
| - properties.propertyTreeState.setScroll(scrollBarScroll); |
|
chrishtr
2017/01/26 21:22:58
Did this functionality get replaced?
pdr.
2017/01/27 20:09:32
This shouldn't have been used. It was for painting
|
| scopedPaintChunkProperties.emplace(context.getPaintController(), |
| *frameView().layoutView(), |
| properties); |