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 dad69700113834beb63a0f3a560e64801972239d..15185439079732978296c4b850bdcb5596921855 100644 |
| --- a/third_party/WebKit/Source/core/paint/FramePainter.cpp |
| +++ b/third_party/WebKit/Source/core/paint/FramePainter.cpp |
| @@ -216,6 +216,9 @@ void FramePainter::PaintScrollbars(GraphicsContext& context, |
| void FramePainter::PaintScrollCorner(GraphicsContext& context, |
| const IntRect& corner_rect) { |
| + if (corner_rect.IsEmpty()) |
|
cbiesinger
2017/05/05 18:20:01
This seems fine but why is that necessary as part
szager1
2017/05/08 16:27:06
This is a mistake, I had another CL to fix this is
|
| + return; |
| + |
| if (GetFrameView().ScrollCorner()) { |
| bool needs_background = GetFrameView().GetFrame().IsMainFrame(); |
| if (needs_background && |