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

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

Issue 1835843002: WIP: Fix foreignObject cullrect Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/PaintLayerScrollableArea.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
index 5f441befd71e298a10e2d1941b88b298653d3530..fa7ad4dfcc771dfd9a723a580bc71004b5fb1c52 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
@@ -1096,7 +1096,7 @@ void PaintLayerScrollableArea::updateScrollCornerStyle()
RefPtr<ComputedStyle> corner = box().hasOverflowClip() ? actualLayoutObject.getUncachedPseudoStyle(PseudoStyleRequest(PseudoIdScrollbarCorner), actualLayoutObject.style()) : PassRefPtr<ComputedStyle>(nullptr);
if (corner) {
if (!m_scrollCorner) {
- m_scrollCorner = LayoutScrollbarPart::createAnonymous(&box().document());
+ m_scrollCorner = LayoutScrollbarPart::createAnonymous(&box().document(), this);
m_scrollCorner->setDangerousOneWayParent(&box());
}
m_scrollCorner->setStyleWithWritingModeOfParent(corner.release());
@@ -1224,7 +1224,7 @@ void PaintLayerScrollableArea::updateResizerStyle()
RefPtr<ComputedStyle> resizer = box().hasOverflowClip() ? actualLayoutObject.getUncachedPseudoStyle(PseudoStyleRequest(PseudoIdResizer), actualLayoutObject.style()) : PassRefPtr<ComputedStyle>(nullptr);
if (resizer) {
if (!m_resizer) {
- m_resizer = LayoutScrollbarPart::createAnonymous(&box().document());
+ m_resizer = LayoutScrollbarPart::createAnonymous(&box().document(), this);
m_resizer->setDangerousOneWayParent(&box());
}
m_resizer->setStyleWithWritingModeOfParent(resizer.release());

Powered by Google App Engine
This is Rietveld 408576698