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

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

Issue 1157653005: Move use of DisplayItemList's vector behind an explicit DisplayItems interface. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: DisplayItems must be noncopyable (Windows build fix) Created 5 years, 6 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: Source/platform/graphics/paint/DrawingDisplayItem.h
diff --git a/Source/platform/graphics/paint/DrawingDisplayItem.h b/Source/platform/graphics/paint/DrawingDisplayItem.h
index 1fa0e1a700ade80136d2d67c6cda38c602e3c776..b73b21e9b2962d9d3879c44f72205d7ba325e410 100644
--- a/Source/platform/graphics/paint/DrawingDisplayItem.h
+++ b/Source/platform/graphics/paint/DrawingDisplayItem.h
@@ -42,7 +42,7 @@ public:
virtual void appendToWebDisplayItemList(WebDisplayItemList*) const override;
virtual bool drawsContent() const override;
- PassRefPtr<const SkPicture> picture() const { return m_picture; }
+ const SkPicture* picture() const { return m_picture.get(); }
#if ENABLE(ASSERT)
void setUnderInvalidationCheckingMode(UnderInvalidationCheckingMode mode) { m_underInvalidationCheckingMode = mode; }

Powered by Google App Engine
This is Rietveld 408576698