Index: cc/resources/video_resource_updater.h |
diff --git a/cc/resources/video_resource_updater.h b/cc/resources/video_resource_updater.h |
index f36ae95f2136741915e8092ece0f8883a88a52c9..c00b9fc0b0cffd94f78a9b617f9d7a2490569eb1 100644 |
--- a/cc/resources/video_resource_updater.h |
+++ b/cc/resources/video_resource_updater.h |
@@ -70,8 +70,7 @@ class CC_EXPORT VideoFrameExternalResources { |
// VideoResourceUpdater is used by the video system to produce frame content as |
// resources consumable by the compositor. |
-class CC_EXPORT VideoResourceUpdater |
- : public base::SupportsWeakPtr<VideoResourceUpdater> { |
+class CC_EXPORT VideoResourceUpdater { |
public: |
VideoResourceUpdater(ContextProvider* context_provider, |
ResourceProvider* resource_provider, |
@@ -185,6 +184,8 @@ class CC_EXPORT VideoResourceUpdater |
// data transfers. |
ResourceList all_resources_; |
+ base::WeakPtrFactory<VideoResourceUpdater> weak_ptr_factory_; |
+ |
DISALLOW_COPY_AND_ASSIGN(VideoResourceUpdater); |
}; |