| Index: remoting/codec/video_encoder_helper.cc
|
| diff --git a/remoting/codec/video_encoder_helper.cc b/remoting/codec/video_encoder_helper.cc
|
| index b8e8d1ee93ae294ef0b04649dbbc9a20da50adc7..d07916220a0e2d515eb507edfb2b43268fba5bb2 100644
|
| --- a/remoting/codec/video_encoder_helper.cc
|
| +++ b/remoting/codec/video_encoder_helper.cc
|
| @@ -44,19 +44,6 @@ VideoEncoderHelper::CreateVideoPacketWithUpdatedRegion(
|
| dirty_rect->set_height(rect.height());
|
| }
|
|
|
| - // Record the shape of the frame, if specified.
|
| - if (frame.shape()) {
|
| - packet->set_use_desktop_shape(true);
|
| - for (webrtc::DesktopRegion::Iterator r(*frame.shape());
|
| - !r.IsAtEnd(); r.Advance()) {
|
| - Rect* rect = packet->add_desktop_shape_rects();
|
| - rect->set_x(r.rect().left());
|
| - rect->set_y(r.rect().top());
|
| - rect->set_width(r.rect().width());
|
| - rect->set_height(r.rect().height());
|
| - }
|
| - }
|
| -
|
| // Store frame DPI.
|
| if (!frame.dpi().is_zero()) {
|
| packet->mutable_format()->set_x_dpi(frame.dpi().x());
|
|
|