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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.cpp

Issue 2743363006: Clean up cc/paint interfaces (Closed)
Patch Set: Fix PaintControllerTest v2 Created 3 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
Index: third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.cpp b/third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.cpp
index 20477fa6aaed8e2affdfd3db480b5146ba8e4ea8..8e1d79b9b1be2af718a1fb8673ec45805c9dee55 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.cpp
@@ -25,7 +25,7 @@ void computeChunkBoundsAndOpaqueness(const DisplayItemList& displayItems,
if (!item.isDrawing())
continue;
const auto& drawing = static_cast<const DrawingDisplayItem&>(item);
- if (const PaintRecord* record = drawing.GetPaintRecord()) {
+ if (const PaintRecord* record = drawing.GetPaintRecord().get()) {
if (drawing.knownToBeOpaque()) {
// TODO(pdr): It may be too conservative to round in to the
// enclosedIntRect.

Powered by Google App Engine
This is Rietveld 408576698