| Index: cc/resources/picture_pile_base.h
|
| diff --git a/cc/resources/picture_pile_base.h b/cc/resources/picture_pile_base.h
|
| index bb9116c63f748bbb42398a95021851767d1dc4cf..9355e382f2e76969b52058cb8a0680383e965f58 100644
|
| --- a/cc/resources/picture_pile_base.h
|
| +++ b/cc/resources/picture_pile_base.h
|
| @@ -10,7 +10,6 @@
|
| #include <utility>
|
|
|
| #include "base/containers/hash_tables.h"
|
| -#include "base/memory/ref_counted.h"
|
| #include "cc/base/cc_export.h"
|
| #include "cc/base/region.h"
|
| #include "cc/base/tiling_data.h"
|
| @@ -26,7 +25,7 @@ class Value;
|
|
|
| namespace cc {
|
|
|
| -class CC_EXPORT PicturePileBase : public base::RefCounted<PicturePileBase> {
|
| +class CC_EXPORT PicturePileBase {
|
| public:
|
| PicturePileBase();
|
| explicit PicturePileBase(const PicturePileBase* other);
|
| @@ -43,7 +42,7 @@ class CC_EXPORT PicturePileBase : public base::RefCounted<PicturePileBase> {
|
| int num_tiles_y() const { return tiling_.num_tiles_y(); }
|
| gfx::Rect tile_bounds(int x, int y) const { return tiling_.TileBounds(x, y); }
|
| bool HasRecordingAt(int x, int y);
|
| - bool CanRaster(float contents_scale, const gfx::Rect& content_rect);
|
| + bool CanRaster(float contents_scale, const gfx::Rect& content_rect) const;
|
|
|
| // If this pile contains any valid recordings. May have false positives.
|
| bool HasRecordings() const { return has_any_recordings_; }
|
| @@ -136,7 +135,6 @@ class CC_EXPORT PicturePileBase : public base::RefCounted<PicturePileBase> {
|
| private:
|
| void SetBufferPixels(int buffer_pixels);
|
|
|
| - friend class base::RefCounted<PicturePileBase>;
|
| DISALLOW_COPY_AND_ASSIGN(PicturePileBase);
|
| };
|
|
|
|
|