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

Unified Diff: Source/core/paint/ViewPainter.cpp

Issue 691863003: Add a setting to do frame scrolls through the root layer. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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
« no previous file with comments | « Source/core/paint/BlockPainter.cpp ('k') | Source/core/rendering/RenderBox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/ViewPainter.cpp
diff --git a/Source/core/paint/ViewPainter.cpp b/Source/core/paint/ViewPainter.cpp
index 009d77548f2c3d40b4b1f42d07a651e6e56eb771..303d7cad57e84789a6cd77fce08ab801fa165f97 100644
--- a/Source/core/paint/ViewPainter.cpp
+++ b/Source/core/paint/ViewPainter.cpp
@@ -6,6 +6,7 @@
#include "core/paint/ViewPainter.h"
#include "core/frame/FrameView.h"
+#include "core/paint/BlockPainter.h"
#include "core/rendering/GraphicsContextAnnotator.h"
#include "core/rendering/PaintInfo.h"
#include "core/rendering/RenderBox.h"
@@ -27,6 +28,7 @@ void ViewPainter::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
paintInfo.context->fillRect(paintInfo.rect, m_renderView.frameView()->baseBackgroundColor());
m_renderView.paintObject(paintInfo, paintOffset);
+ BlockPainter(m_renderView).paintOverflowControlsIfNeeded(paintInfo, paintOffset);
}
static inline bool rendererObscuresBackground(RenderBox* rootBox)
« no previous file with comments | « Source/core/paint/BlockPainter.cpp ('k') | Source/core/rendering/RenderBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698