| Index: ui/ozone/public/native_pixmap.h
|
| diff --git a/ui/ozone/public/native_pixmap.h b/ui/ozone/public/native_pixmap.h
|
| index 8342ca2d867a8bbda039cabeb260115ba92a1b9e..d3369c0b3a9f0f4049d0760c8abdd0bce73153de 100644
|
| --- a/ui/ozone/public/native_pixmap.h
|
| +++ b/ui/ozone/public/native_pixmap.h
|
| @@ -11,7 +11,7 @@ namespace ui {
|
|
|
| // This represents a buffer that can be directly imported via GL for
|
| // rendering, or exported via dma-buf fds.
|
| -class NativePixmap : public base::RefCounted<NativePixmap> {
|
| +class NativePixmap : public base::RefCountedThreadSafe<NativePixmap> {
|
| public:
|
| NativePixmap() {}
|
|
|
| @@ -22,7 +22,8 @@ class NativePixmap : public base::RefCounted<NativePixmap> {
|
| protected:
|
| virtual ~NativePixmap() {}
|
|
|
| - friend class base::RefCounted<NativePixmap>;
|
| + private:
|
| + friend class base::RefCountedThreadSafe<NativePixmap>;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(NativePixmap);
|
| };
|
|
|