diff options
Diffstat (limited to 'cc/blink/web_display_item_list_impl.h')
-rw-r--r-- | cc/blink/web_display_item_list_impl.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cc/blink/web_display_item_list_impl.h b/cc/blink/web_display_item_list_impl.h index ff94ee3..abaf221 100644 --- a/cc/blink/web_display_item_list_impl.h +++ b/cc/blink/web_display_item_list_impl.h @@ -31,9 +31,11 @@ namespace cc_blink { class WebDisplayItemListImpl : public blink::WebDisplayItemList { public: - CC_BLINK_EXPORT WebDisplayItemListImpl(cc::DisplayItemList* display_list); + CC_BLINK_EXPORT WebDisplayItemListImpl(); virtual ~WebDisplayItemListImpl(); + scoped_refptr<cc::DisplayItemList> ToDisplayItemList(); + // blink::WebDisplayItemList implementation. virtual void appendDrawingItem(const SkPicture*); virtual void appendClipItem( @@ -61,7 +63,7 @@ class WebDisplayItemListImpl : public blink::WebDisplayItemList { virtual void appendEndScrollItem(); private: - cc::DisplayItemList* display_item_list_; + scoped_refptr<cc::DisplayItemList> display_item_list_; DISALLOW_COPY_AND_ASSIGN(WebDisplayItemListImpl); }; |