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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.h

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/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());

Powered by Google App Engine
This is Rietveld 408576698