Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(283)

Unified Diff: third_party/WebKit/Source/core/paint/FramePainter.cpp

Issue 2657863004: Move scroll paint property nodes to be owned by the transform tree (Closed)
Patch Set: Rebase & remove parens Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
scopedPaintChunkProperties.emplace(context.getPaintController(),
*frameView().layoutView(),
properties);

Powered by Google App Engine
This is Rietveld 408576698