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

Unified Diff: content/renderer/media_capture_from_element/canvas_capture_handler_unittest.cc

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_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 516082338ceca91572c62d12951dda413a9eabcc..76a214bc958cc65b6c9f7fd32aefa6a16de7ca52 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,11 +51,10 @@ class CanvasCaptureHandlerTest
CanvasCaptureHandlerTest() {}
void SetUp() override {
- canvas_capture_handler_.reset(
- CanvasCaptureHandler::CreateCanvasCaptureHandler(
- blink::WebSize(kTestCanvasCaptureWidth, kTestCanvasCaptureHeight),
- kTestCanvasCaptureFramesPerSecond, message_loop_.task_runner(),
- &track_));
+ canvas_capture_handler_ = CanvasCaptureHandler::CreateCanvasCaptureHandler(
+ blink::WebSize(kTestCanvasCaptureWidth, kTestCanvasCaptureHeight),
+ kTestCanvasCaptureFramesPerSecond, message_loop_.task_runner(),
+ &track_);
}
void TearDown() override {
« no previous file with comments | « content/renderer/media_capture_from_element/canvas_capture_handler.cc ('k') | content/renderer/render_thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698