| Index: remoting/client/ui/desktop_viewport.h
|
| diff --git a/remoting/client/ui/desktop_viewport.h b/remoting/client/ui/desktop_viewport.h
|
| index c000ba4b05d02bacf946ee9eb0907dd4dc3f0ec6..f22451eb3c7e9d8396a329bd529e299e8fde931a 100644
|
| --- a/remoting/client/ui/desktop_viewport.h
|
| +++ b/remoting/client/ui/desktop_viewport.h
|
| @@ -35,10 +35,11 @@ class DesktopViewport {
|
| DesktopViewport();
|
| ~DesktopViewport();
|
|
|
| - // Sets the |desktop_size_| and initializes the viewport when necessary.
|
| + // Sets the |desktop_size_| and (re)initializes the viewport.
|
| void SetDesktopSize(int desktop_width, int desktop_height);
|
|
|
| - // Sets the |surface_size_| and initializes the viewport when necessary.
|
| + // Sets the |surface_size_| and (re)initializes the viewport if both
|
| + // dimensions are changed.
|
| void SetSurfaceSize(int surface_width, int surface_height);
|
|
|
| // Translates the desktop on the surface's reference frame by <dx, dy>.
|
|
|