Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(489)

Unified Diff: media/capture/video/video_capture_device_client.h

Issue 2861603003: Remove SupportsWeakPtr from VideoCaptureDeviceClient (Closed)
Patch Set: removed weak_ptr.h Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/capture/video/video_capture_device_client.h
diff --git a/media/capture/video/video_capture_device_client.h b/media/capture/video/video_capture_device_client.h
index bc91f2caf0847cde16b3ffc860184d62ccc38ab2..61a2664fb318e007435b5128a405bd9ed733a86a 100644
--- a/media/capture/video/video_capture_device_client.h
+++ b/media/capture/video/video_capture_device_client.h
@@ -13,7 +13,6 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/weak_ptr.h"
#include "base/threading/thread_collision_warner.h"
#include "media/capture/capture_export.h"
#include "media/capture/video/video_capture_device.h"
@@ -37,8 +36,7 @@ using VideoCaptureJpegDecoderFactoryCB =
// The owner is responsible for making sure that the instance outlives these
// calls.
class CAPTURE_EXPORT VideoCaptureDeviceClient
- : public media::VideoCaptureDevice::Client,
- public base::SupportsWeakPtr<VideoCaptureDeviceClient> {
+ : public media::VideoCaptureDevice::Client {
public:
VideoCaptureDeviceClient(
std::unique_ptr<VideoFrameReceiver> receiver,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698