| Index: cc/resources/drawing_display_item.h
|
| diff --git a/cc/resources/drawing_display_item.h b/cc/resources/drawing_display_item.h
|
| index b45a0392ad0756ef3a45212106dbcbb2cac8c13c..1f63ed34e2e9c05bb25ab5307c54c47089bebafa 100644
|
| --- a/cc/resources/drawing_display_item.h
|
| +++ b/cc/resources/drawing_display_item.h
|
| @@ -21,9 +21,9 @@ class CC_EXPORT DrawingDisplayItem : public DisplayItem {
|
| public:
|
| ~DrawingDisplayItem() override;
|
|
|
| - static scoped_ptr<DrawingDisplayItem> Create(
|
| - skia::RefPtr<SkPicture> picture) {
|
| - return make_scoped_ptr(new DrawingDisplayItem(picture));
|
| + static scoped_ptr<DrawingDisplayItem> Create(skia::RefPtr<SkPicture> picture,
|
| + gfx::PointF location) {
|
| + return make_scoped_ptr(new DrawingDisplayItem(picture, location));
|
| }
|
|
|
| void Raster(SkCanvas* canvas, SkDrawPictureCallback* callback) const override;
|
| @@ -35,10 +35,11 @@ class CC_EXPORT DrawingDisplayItem : public DisplayItem {
|
| void AsValueInto(base::trace_event::TracedValue* array) const override;
|
|
|
| protected:
|
| - explicit DrawingDisplayItem(skia::RefPtr<SkPicture> picture);
|
| + DrawingDisplayItem(skia::RefPtr<SkPicture> picture, gfx::PointF location);
|
|
|
| private:
|
| skia::RefPtr<SkPicture> picture_;
|
| + gfx::PointF location_;
|
| };
|
|
|
| } // namespace cc
|
|
|