Index: third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.h |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.h |
index af09dc68c1d1d0b79c46a7209a0a72510b6d206b..ce176520abc935c8efcf04eae954f7215e9da79b 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.h |
+++ b/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.h |
@@ -34,7 +34,7 @@ class PLATFORM_EXPORT DrawingDisplayItem final : public DisplayItem { |
WebDisplayItemList*) const override; |
bool drawsContent() const override; |
- const PaintRecord* GetPaintRecord() const { return m_record.get(); } |
+ const sk_sp<const PaintRecord>& GetPaintRecord() const { return m_record; } |
bool knownToBeOpaque() const { |
DCHECK(RuntimeEnabledFeatures::slimmingPaintV2Enabled()); |