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

Unified Diff: remoting/client/software_video_renderer_unittest.cc

Issue 2253233004: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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 | « remoting/client/plugin/pepper_url_request.cc ('k') | remoting/host/basic_desktop_environment.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/software_video_renderer_unittest.cc
diff --git a/remoting/client/software_video_renderer_unittest.cc b/remoting/client/software_video_renderer_unittest.cc
index b4b5a0555674f44afe011fb6ba8b7f786ddd58f7..832cd8fcc119645295a4d5c9ab31eb21829da7a4 100644
--- a/remoting/client/software_video_renderer_unittest.cc
+++ b/remoting/client/software_video_renderer_unittest.cc
@@ -52,7 +52,7 @@ class TestFrameConsumer : public protocol::FrameConsumer {
std::unique_ptr<DesktopFrame> AllocateFrame(
const webrtc::DesktopSize& size) override {
EXPECT_TRUE(thread_checker_.CalledOnValidThread());
- return base::WrapUnique(new webrtc::BasicDesktopFrame(size));
+ return base::MakeUnique<webrtc::BasicDesktopFrame>(size);
}
void DrawFrame(std::unique_ptr<DesktopFrame> frame,
« no previous file with comments | « remoting/client/plugin/pepper_url_request.cc ('k') | remoting/host/basic_desktop_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698