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

Unified Diff: ui/compositor/canvas_painter.cc

Issue 2225563002: Reland "Raster display item lists via a visual rect RTree." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync to head. Created 4 years, 4 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: ui/compositor/canvas_painter.cc
diff --git a/ui/compositor/canvas_painter.cc b/ui/compositor/canvas_painter.cc
index 618fa753b7b39beafb4310f834ef637ad9f75006..b67d4860e7caff651c118e49cd373d3bf0c71569 100644
--- a/ui/compositor/canvas_painter.cc
+++ b/ui/compositor/canvas_painter.cc
@@ -17,9 +17,8 @@ CanvasPainter::CanvasPainter(gfx::Canvas* canvas, float raster_scale_factor)
gfx::Rect(canvas_->sk_canvas()->getBaseLayerSize().width(),
canvas_->sk_canvas()->getBaseLayerSize().height()),
1.f / raster_scale_factor)),
- list_(cc::DisplayItemList::Create(rect_, cc::DisplayItemListSettings())),
- context_(list_.get(), raster_scale_factor_, rect_) {
-}
+ list_(cc::DisplayItemList::Create(cc::DisplayItemListSettings())),
+ context_(list_.get(), raster_scale_factor_, rect_) {}
CanvasPainter::~CanvasPainter() {
list_->Finalize();
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp ('k') | ui/compositor/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698