Chromium Code Reviews| 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..9e7a3dcc9d23cd708eba6ff4e1e123a5d5f9f556 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(); } |
| + sk_sp<const PaintRecord> GetPaintRecord() const { return m_record; } |
|
danakj
2017/03/16 20:06:17
const&
|
| bool knownToBeOpaque() const { |
| DCHECK(RuntimeEnabledFeatures::slimmingPaintV2Enabled()); |