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

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

Issue 2860433002: Update WebView/FrameView size from LayoutView::UpdateAfterLayout (Closed)
Patch Set: rebas Created 3 years, 7 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 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 &&

Powered by Google App Engine
This is Rietveld 408576698