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

Unified Diff: third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp

Issue 1484163002: Raster display item lists via a visual rect RTree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update test expectations. Created 4 years, 6 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/platform/graphics/compositing/PaintArtifactCompositor.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
index b7081ff953795a0c4ec008188a3cfd20d7cfc6c5..a21cfe300993bd05528360a8654b5f198762fc1f 100644
--- a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
+++ b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
@@ -94,8 +94,7 @@ static void appendDisplayItemToCcDisplayItemList(const DisplayItem& displayItem,
static scoped_refptr<cc::DisplayItemList> recordPaintChunk(const PaintArtifact& artifact, const PaintChunk& chunk, const gfx::Rect& combinedBounds)
{
cc::DisplayItemListSettings settings;
- scoped_refptr<cc::DisplayItemList> list = cc::DisplayItemList::Create(
- gfx::Rect(combinedBounds.size()), settings);
+ scoped_refptr<cc::DisplayItemList> list = cc::DisplayItemList::Create(settings);
gfx::Transform translation;
translation.Translate(-combinedBounds.x(), -combinedBounds.y());

Powered by Google App Engine
This is Rietveld 408576698