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

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

Issue 2872793002: Notify paint for each frame (Closed)
Patch Set: review fix 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/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 5bd2202e29af58b6b0d83f6cc720535872bd2d03..6a9f423ac22b06f51333fc5a48d7be01b3a69992 100644
--- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
@@ -961,8 +961,8 @@ void PaintLayerCompositor::PaintContents(const GraphicsLayer* graphics_layer,
if (scrollbar) {
PaintScrollbar(graphics_layer, scrollbar, builder.Context(), interest_rect);
} else {
- FramePainter(*layout_view_.GetFrameView())
- .PaintScrollCorner(builder.Context(), interest_rect);
+ FramePainter(builder.Context(), *layout_view_.GetFrameView())
+ .PaintScrollCorner(interest_rect);
}
// Replay the painted scrollbar content with the GraphicsLayer backing as the

Powered by Google App Engine
This is Rietveld 408576698