Index: content/renderer/media_capture_from_element/canvas_capture_handler_unittest.cc |
diff --git a/content/renderer/media_capture_from_element/canvas_capture_handler_unittest.cc b/content/renderer/media_capture_from_element/canvas_capture_handler_unittest.cc |
index 76a214bc958cc65b6c9f7fd32aefa6a16de7ca52..516082338ceca91572c62d12951dda413a9eabcc 100644 |
--- a/content/renderer/media_capture_from_element/canvas_capture_handler_unittest.cc |
+++ b/content/renderer/media_capture_from_element/canvas_capture_handler_unittest.cc |
@@ -51,10 +51,11 @@ |
CanvasCaptureHandlerTest() {} |
void SetUp() override { |
- canvas_capture_handler_ = CanvasCaptureHandler::CreateCanvasCaptureHandler( |
- blink::WebSize(kTestCanvasCaptureWidth, kTestCanvasCaptureHeight), |
- kTestCanvasCaptureFramesPerSecond, message_loop_.task_runner(), |
- &track_); |
+ canvas_capture_handler_.reset( |
+ CanvasCaptureHandler::CreateCanvasCaptureHandler( |
+ blink::WebSize(kTestCanvasCaptureWidth, kTestCanvasCaptureHeight), |
+ kTestCanvasCaptureFramesPerSecond, message_loop_.task_runner(), |
+ &track_)); |
} |
void TearDown() override { |