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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp

Issue 1393083003: Implement interest rects for synchronized paint. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
index 9d509b260a4b41a38be8d87aa42518643296b90e..02b8e5f0423f585179dc94c732fb7125c683c69f 100644
--- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
@@ -815,6 +815,11 @@ void PaintLayerCompositor::paintContents(const GraphicsLayer* graphicsLayer, Gra
FramePainter(*m_layoutView.frameView()).paintScrollCorner(&context, clip);
}
+void PaintLayerCompositor::paintContentsIfNeeded(const GraphicsLayer* graphicsLayer, GraphicsContext& context, GraphicsLayerPaintingPhase phase) const
+{
+ paintContents(graphicsLayer, context, phase, IntRect());
+}
+
bool PaintLayerCompositor::supportsFixedRootBackgroundCompositing() const
{
if (Settings* settings = m_layoutView.document().settings())

Powered by Google App Engine
This is Rietveld 408576698