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. |