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

Unified Diff: remoting/host/chromeos/aura_desktop_capturer_unittest.cc

Issue 1864213002: Convert //remoting to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac IWYU Created 4 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
« no previous file with comments | « remoting/host/chromeos/aura_desktop_capturer.cc ('k') | remoting/host/chromeos/clipboard_aura.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/chromeos/aura_desktop_capturer_unittest.cc
diff --git a/remoting/host/chromeos/aura_desktop_capturer_unittest.cc b/remoting/host/chromeos/aura_desktop_capturer_unittest.cc
index 9d35291d25868e74216a5479c1f23d95c2c26ef3..754bb450e4f9b2ffd4124970de001af64a6aec88 100644
--- a/remoting/host/chromeos/aura_desktop_capturer_unittest.cc
+++ b/remoting/host/chromeos/aura_desktop_capturer_unittest.cc
@@ -50,7 +50,7 @@ class AuraDesktopCapturerTest : public testing::Test,
protected:
void SimulateFrameCapture() {
- scoped_ptr<SkBitmap> bitmap(new SkBitmap());
+ std::unique_ptr<SkBitmap> bitmap(new SkBitmap());
const SkImageInfo& info =
SkImageInfo::Make(3, 4, kBGRA_8888_SkColorType, kPremul_SkAlphaType);
bitmap->installPixels(info, const_cast<unsigned char*>(frame_data), 12);
@@ -59,7 +59,7 @@ class AuraDesktopCapturerTest : public testing::Test,
cc::CopyOutputResult::CreateBitmapResult(std::move(bitmap)));
}
- scoped_ptr<AuraDesktopCapturer> capturer_;
+ std::unique_ptr<AuraDesktopCapturer> capturer_;
};
void AuraDesktopCapturerTest::SetUp() {
« no previous file with comments | « remoting/host/chromeos/aura_desktop_capturer.cc ('k') | remoting/host/chromeos/clipboard_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698