| Index: remoting/client/view_matrix.cc
|
| diff --git a/remoting/client/view_matrix.cc b/remoting/client/view_matrix.cc
|
| index 0172341747a32220da62e89d9ff72283292d0ad7..8530cee41d6c31a16e6dce9695053da9f265c756 100644
|
| --- a/remoting/client/view_matrix.cc
|
| +++ b/remoting/client/view_matrix.cc
|
| @@ -33,6 +33,10 @@ float ViewMatrix::GetScale() const {
|
| return scale_;
|
| }
|
|
|
| +void ViewMatrix::SetOffset(const Point& offset) {
|
| + offset_ = offset;
|
| +}
|
| +
|
| void ViewMatrix::PostScale(const Point& pivot, float scale) {
|
| scale_ *= scale;
|
| offset_.x *= scale;
|
|
|