Index: content/common/gpu/image_transport_surface.h |
diff --git a/content/common/gpu/image_transport_surface.h b/content/common/gpu/image_transport_surface.h |
index 7b6d1df4ce6b404de4fde33035beb8a756a23ed1..99de4bb89aacc01bd16ccc01b054bacb87f0c9c4 100644 |
--- a/content/common/gpu/image_transport_surface.h |
+++ b/content/common/gpu/image_transport_surface.h |
@@ -88,7 +88,9 @@ class ImageTransportSurface { |
DISALLOW_COPY_AND_ASSIGN(ImageTransportSurface); |
}; |
-class ImageTransportHelper : public IPC::Listener { |
+class ImageTransportHelper |
+ : public IPC::Listener, |
+ public base::SupportsWeakPtr<ImageTransportHelper> { |
public: |
// Takes weak pointers to objects that outlive the helper. |
ImageTransportHelper(ImageTransportSurface* surface, |