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

Unified Diff: content/renderer/media_capture_from_element/canvas_capture_handler.h

Issue 2846843002: [blink] Unique pointers in Platform.h (Closed)
Patch Set: fix compilation (and again) 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
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,

Powered by Google App Engine
This is Rietveld 408576698