| Index: remoting/protocol/frame_consumer.h
|
| diff --git a/remoting/protocol/frame_consumer.h b/remoting/protocol/frame_consumer.h
|
| index 7dde4fc82b71d06956ce0e9f56c8ba6cd66578b1..be9c88192a213f75e635985f9021c7fac791c680 100644
|
| --- a/remoting/protocol/frame_consumer.h
|
| +++ b/remoting/protocol/frame_consumer.h
|
| @@ -5,9 +5,10 @@
|
| #ifndef REMOTING_PROTOCOL_FRAME_CONSUMER_H_
|
| #define REMOTING_PROTOCOL_FRAME_CONSUMER_H_
|
|
|
| +#include <memory>
|
| +
|
| #include "base/callback_forward.h"
|
| #include "base/macros.h"
|
| -#include "base/memory/scoped_ptr.h"
|
|
|
| namespace webrtc {
|
| class DesktopFrame;
|
| @@ -25,10 +26,10 @@ class FrameConsumer {
|
| FORMAT_RGBA, // Used for Android's Bitmap class.
|
| };
|
|
|
| - virtual scoped_ptr<webrtc::DesktopFrame> AllocateFrame(
|
| + virtual std::unique_ptr<webrtc::DesktopFrame> AllocateFrame(
|
| const webrtc::DesktopSize& size) = 0;
|
|
|
| - virtual void DrawFrame(scoped_ptr<webrtc::DesktopFrame> frame,
|
| + virtual void DrawFrame(std::unique_ptr<webrtc::DesktopFrame> frame,
|
| const base::Closure& done) = 0;
|
|
|
| // Returns the preferred pixel encoding for the platform.
|
|
|