Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(698)

Unified Diff: remoting/client/desktop_viewport.h

Issue 2866843002: [Remoting Client] Always ResizeToFit when desktop/surface size is changed (Closed)
Patch Set: Resolve Feedback Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/client/desktop_viewport.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/desktop_viewport.h
diff --git a/remoting/client/desktop_viewport.h b/remoting/client/desktop_viewport.h
index 8fb7377bad5669c1a33db5d39fddd473f97fefb4..2133f115226b983a164de08b5df5f5f5a46bd80e 100644
--- a/remoting/client/desktop_viewport.h
+++ b/remoting/client/desktop_viewport.h
@@ -95,11 +95,8 @@ class DesktopViewport {
const Bounds& bounds,
const ViewMatrix::Point& point);
- ViewMatrix::Vector2D desktop_size_;
- ViewMatrix::Vector2D surface_size_;
-
- bool desktop_size_ready_ = false;
- bool surface_size_ready_ = false;
+ ViewMatrix::Vector2D desktop_size_{0.f, 0.f};
+ ViewMatrix::Vector2D surface_size_{0.f, 0.f};
ViewMatrix desktop_to_surface_transform_;
« no previous file with comments | « no previous file | remoting/client/desktop_viewport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698