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

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

Issue 2842983002: [LayoutNG] Paint inlines from the fragment tree
Patch Set: Basic box painting support 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/ViewPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/ViewPainter.cpp b/third_party/WebKit/Source/core/paint/ViewPainter.cpp
index 74c089ce89b8d5daa0973f65bbcd301ca6562d5c..c7096626c9922155455c07ab84e5fadbef8d2c82 100644
--- a/third_party/WebKit/Source/core/paint/ViewPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/ViewPainter.cpp
@@ -163,7 +163,8 @@ void ViewPainter::PaintBoxDecorationBackground(const PaintInfo& paint_info) {
bool should_draw_background_in_separate_buffer =
BoxPainter(layout_view_)
.CalculateFillLayerOcclusionCulling(
- reversed_paint_list, layout_view_.Style()->BackgroundLayers());
+ reversed_paint_list, layout_view_.Style()->BackgroundLayers(),
+ layout_view_.GetDocument(), layout_view_.StyleRef());
DCHECK(reversed_paint_list.size());
// If the root background color is opaque, isolation group can be skipped

Powered by Google App Engine
This is Rietveld 408576698