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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.cpp

Issue 1830333002: Correct visual rects for scroll corner/resizer and non-frame composited scroll bars. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix up composited non-frame scrollable area visual rects. 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/frame/FrameView.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
index 4d0b6ba9a6f89a203b944deb16c160f5449a7548..cf299c9c7d814462058d69d5031ecc79404c5c8b 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -2333,7 +2333,7 @@ void FrameView::updateScrollCorner()
if (cornerStyle) {
if (!m_scrollCorner)
- m_scrollCorner = LayoutScrollbarPart::createAnonymous(doc);
+ m_scrollCorner = LayoutScrollbarPart::createAnonymous(doc, this);
m_scrollCorner->setStyleWithWritingModeOfParent(cornerStyle.release());
setScrollCornerNeedsPaintInvalidation();
} else if (m_scrollCorner) {

Powered by Google App Engine
This is Rietveld 408576698