Chromium Code Reviews| Index: remoting/client/frame_consumer_proxy.cc |
| diff --git a/remoting/client/frame_consumer_proxy.cc b/remoting/client/frame_consumer_proxy.cc |
| index 070130cf8ccacb57ef3083f6fa3df33ec0d40850..3905b426b6608d05d5197b3bc389049da62fdd5e 100644 |
| --- a/remoting/client/frame_consumer_proxy.cc |
| +++ b/remoting/client/frame_consumer_proxy.cc |
| @@ -54,11 +54,17 @@ void FrameConsumerProxy::SetSourceSize(const SkISize& source_size, |
| frame_consumer_->SetSourceSize(source_size, source_dpi); |
| } |
| +FrameConsumer::PixelFormat FrameConsumerProxy::GetPixelFormat() { |
| + return pixel_format_; |
| +} |
| + |
| void FrameConsumerProxy::Attach( |
| const base::WeakPtr<FrameConsumer>& frame_consumer) { |
| DCHECK(task_runner_->BelongsToCurrentThread()); |
| DCHECK(frame_consumer_.get() == NULL); |
| frame_consumer_ = frame_consumer; |
| + |
|
Sergey Ulanov
2013/09/27 21:51:13
remove this line.
Lambros
2013/09/28 00:22:18
Done.
|
| + pixel_format_ = frame_consumer_->GetPixelFormat(); |
| } |
| FrameConsumerProxy::~FrameConsumerProxy() { |