Index: cc/resources/picture_pile.h |
diff --git a/cc/resources/picture_pile.h b/cc/resources/picture_pile.h |
index 595ded4a4e5d176733ff1f07352630efb8cd49e1..7cd22296c5f23f80e4de98cba3a7696313eb9323 100644 |
--- a/cc/resources/picture_pile.h |
+++ b/cc/resources/picture_pile.h |
@@ -5,6 +5,7 @@ |
#ifndef CC_RESOURCES_PICTURE_PILE_H_ |
#define CC_RESOURCES_PICTURE_PILE_H_ |
+#include "base/memory/ref_counted.h" |
#include "cc/resources/picture_pile_base.h" |
#include "ui/gfx/geometry/rect.h" |
@@ -16,6 +17,7 @@ class RenderingStatsInstrumentation; |
class CC_EXPORT PicturePile : public PicturePileBase { |
public: |
PicturePile(); |
+ ~PicturePile() override; |
// Re-record parts of the picture that are invalid. |
// Invalidations are in layer space, and will be expanded to cover everything |
@@ -53,9 +55,6 @@ class CC_EXPORT PicturePile : public PicturePileBase { |
void SetPixelRecordDistanceForTesting(int d) { pixel_record_distance_ = d; } |
- protected: |
- ~PicturePile() override; |
- |
private: |
friend class PicturePileImpl; |