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..07540cbf37f508d4ad23ac037ce6def09f641aab 100644 |
--- a/cc/resources/picture_pile_base.h |
+++ b/cc/resources/picture_pile_base.h |
@@ -26,7 +26,8 @@ class Value; |
namespace cc { |
-class CC_EXPORT PicturePileBase : public base::RefCounted<PicturePileBase> { |
+class CC_EXPORT PicturePileBase |
+ : public base::RefCountedThreadSafe<PicturePileBase> { |
public: |
PicturePileBase(); |
explicit PicturePileBase(const PicturePileBase* other); |
@@ -136,7 +137,7 @@ class CC_EXPORT PicturePileBase : public base::RefCounted<PicturePileBase> { |
private: |
void SetBufferPixels(int buffer_pixels); |
- friend class base::RefCounted<PicturePileBase>; |
+ friend class base::RefCountedThreadSafe<PicturePileBase>; |
DISALLOW_COPY_AND_ASSIGN(PicturePileBase); |
}; |