| 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 a7c0f4aa547fd01b438b06247fcb9469d4d9916c..89f91b6cbeb43764aaa219345b54443c1ff0ffad 100644
|
| --- a/remoting/host/chromeos/aura_desktop_capturer_unittest.cc
|
| +++ b/remoting/host/chromeos/aura_desktop_capturer_unittest.cc
|
| @@ -7,6 +7,8 @@
|
| #include <stddef.h>
|
| #include <stdint.h>
|
|
|
| +#include <utility>
|
| +
|
| #include "cc/output/copy_output_result.h"
|
| #include "testing/gmock/include/gmock/gmock.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| @@ -54,9 +56,8 @@ class AuraDesktopCapturerTest : public testing::Test,
|
| SkImageInfo::Make(3, 4, kBGRA_8888_SkColorType, kPremul_SkAlphaType);
|
| bitmap->installPixels(info, const_cast<unsigned char*>(frame_data), 12);
|
|
|
| - scoped_ptr<cc::CopyOutputResult> output =
|
| - cc::CopyOutputResult::CreateBitmapResult(bitmap.Pass());
|
| - capturer_->OnFrameCaptured(output.Pass());
|
| + capturer_->OnFrameCaptured(
|
| + cc::CopyOutputResult::CreateBitmapResult(std::move(bitmap)));
|
| }
|
|
|
| scoped_ptr<AuraDesktopCapturer> capturer_;
|
|
|