Index: content/renderer/media_capture_from_element/canvas_capture_handler.h |
diff --git a/content/renderer/media_capture_from_element/canvas_capture_handler.h b/content/renderer/media_capture_from_element/canvas_capture_handler.h |
index 7f4e6ac2a099e8da80f046eb255d0d16865a115b..c6ed54862e4a5186161f2e3c0e9c63e9c251e69c 100644 |
--- a/content/renderer/media_capture_from_element/canvas_capture_handler.h |
+++ b/content/renderer/media_capture_from_element/canvas_capture_handler.h |
@@ -42,7 +42,7 @@ class CONTENT_EXPORT CanvasCaptureHandler final |
~CanvasCaptureHandler() override; |
// Creates a CanvasCaptureHandler instance and updates UMA histogram. |
- static CanvasCaptureHandler* CreateCanvasCaptureHandler( |
+ static std::unique_ptr<CanvasCaptureHandler> CreateCanvasCaptureHandler( |
const blink::WebSize& size, |
double frame_rate, |
const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner, |