| Index: remoting/client/plugin/chromoting_instance.cc
|
| diff --git a/remoting/client/plugin/chromoting_instance.cc b/remoting/client/plugin/chromoting_instance.cc
|
| index 7ab92c0cbc60d8977fbc81f7c7ddd0e9f8258296..81e81b80289d959bed622481b6d165190f3f808f 100644
|
| --- a/remoting/client/plugin/chromoting_instance.cc
|
| +++ b/remoting/client/plugin/chromoting_instance.cc
|
| @@ -207,7 +207,7 @@ void ChromotingInstance::DidChangeView(const pp::Rect& position,
|
| const pp::Rect& clip) {
|
| DCHECK(plugin_message_loop_->BelongsToCurrentThread());
|
|
|
| - view_->SetPluginSize(gfx::Size(position.width(), position.height()));
|
| + view_->SetPluginSize(SkISize::Make(position.width(), position.height()));
|
|
|
| // TODO(wez): Pass the dimensions of the plugin to the RectangleDecoder
|
| // and let it generate the necessary refresh events.
|
| @@ -221,7 +221,7 @@ void ChromotingInstance::DidChangeView(const pp::Rect& position,
|
|
|
| // Notify the RectangleDecoder of the new clip rect.
|
| rectangle_decoder_->UpdateClipRect(
|
| - gfx::Rect(clip.x(), clip.y(), clip.width(), clip.height()));
|
| + SkIRect::MakeXYWH(clip.x(), clip.y(), clip.width(), clip.height()));
|
| }
|
|
|
| bool ChromotingInstance::HandleInputEvent(const pp::InputEvent& event) {
|
|
|