diff options
author | wez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-20 02:32:24 +0000 |
---|---|---|
committer | wez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-20 02:32:24 +0000 |
commit | f908147003e37019ec6a4f12fd0fc334a9027355 (patch) | |
tree | f1cb39b3f0b0dc50dba501c54b35f92835a0e627 /remoting/host/video_frame_capturer_unittest.cc | |
parent | 238d5c33178e3d3cf6345754357670ba58e43ddf (diff) | |
download | chromium_src-f908147003e37019ec6a4f12fd0fc334a9027355.zip chromium_src-f908147003e37019ec6a4f12fd0fc334a9027355.tar.gz chromium_src-f908147003e37019ec6a4f12fd0fc334a9027355.tar.bz2 |
Tweak VideoFrameCapturer::Create() to return a scoped_ptr.
Review URL: https://chromiumcodereview.appspot.com/11418053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168708 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/video_frame_capturer_unittest.cc')
-rw-r--r-- | remoting/host/video_frame_capturer_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/host/video_frame_capturer_unittest.cc b/remoting/host/video_frame_capturer_unittest.cc index 0b10161..ccc4fdd 100644 --- a/remoting/host/video_frame_capturer_unittest.cc +++ b/remoting/host/video_frame_capturer_unittest.cc @@ -31,7 +31,7 @@ MATCHER(DirtyRegionIsNonEmptyRect, "") { class VideoFrameCapturerTest : public testing::Test { protected: virtual void SetUp() OVERRIDE { - capturer_.reset(VideoFrameCapturer::Create()); + capturer_ = VideoFrameCapturer::Create(); } scoped_ptr<VideoFrameCapturer> capturer_; |