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

Unified Diff: ui/compositor/canvas_painter.cc

Issue 1835843002: WIP: Fix foreignObject cullrect Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.h ('k') | ui/compositor/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/paint/DisplayItemClient.h ('k') | ui/compositor/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698