Chromium Code Reviews| Index: cc/resources/picture_pile_impl.h |
| diff --git a/cc/resources/picture_pile_impl.h b/cc/resources/picture_pile_impl.h |
| index 787903d12e59864dbd7f29104891799224f657c8..a084a2b20971e108028f2dbe48f1404c31118e5e 100644 |
| --- a/cc/resources/picture_pile_impl.h |
| +++ b/cc/resources/picture_pile_impl.h |
| @@ -13,7 +13,7 @@ |
| #include "base/time/time.h" |
| #include "cc/base/cc_export.h" |
| #include "cc/debug/rendering_stats_instrumentation.h" |
| -#include "cc/resources/picture_pile_base.h" |
| +#include "cc/resources/picture_pile.h" |
| #include "cc/resources/raster_source.h" |
| #include "skia/ext/analysis_canvas.h" |
| #include "skia/ext/refptr.h" |
| @@ -21,12 +21,9 @@ |
| namespace cc { |
| -// TODO(vmpstr): Clean up PicturePileBase and make it a member. |
| class CC_EXPORT PicturePileImpl : public RasterSource { |
| public: |
| static scoped_refptr<PicturePileImpl> Create(); |
| - static scoped_refptr<PicturePileImpl> CreateFromOther( |
|
danakj
2014/11/12 19:56:38
Can we be consistent about using Create() vs const
hendrikw
2014/11/12 20:25:42
Acknowledged.
|
| - const PicturePileBase* other); |
| // RasterSource overrides. See RasterSource header for full description. |
| // When slow-down-raster-scale-factor is set to a value greater than 1, the |
| @@ -88,14 +85,13 @@ class CC_EXPORT PicturePileImpl : public RasterSource { |
| friend class PicturePile; |
| friend class PixelRefIterator; |
| - // TODO(vmpstr): Change this when pictures are split from invalidation info, |
| - // and when PicturePileBase goes away. |
| - using PictureMapKey = PicturePileBase::PictureMapKey; |
| - using PictureMap = PicturePileBase::PictureMap; |
| - using PictureInfo = PicturePileBase::PictureInfo; |
| + // TODO(vmpstr): Change this when pictures are split from invalidation info. |
| + using PictureMapKey = PicturePile::PictureMapKey; |
| + using PictureMap = PicturePile::PictureMap; |
| + using PictureInfo = PicturePile::PictureInfo; |
| PicturePileImpl(); |
| - explicit PicturePileImpl(const PicturePileBase* other); |
| + explicit PicturePileImpl(const PicturePile* other); |
| ~PicturePileImpl() override; |
| int buffer_pixels() const { return tiling_.border_texels(); } |