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

Unified Diff: remoting/base/util.h

Issue 8985007: Refactoring of the client-side input pipeline and scaling dimension management. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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
Index: remoting/base/util.h
diff --git a/remoting/base/util.h b/remoting/base/util.h
index b60e0721fe3b74038b0666a52ca2d3f9e614541c..09695889f4f1c16027c73b98e1c622e5b69c7f51 100644
--- a/remoting/base/util.h
+++ b/remoting/base/util.h
@@ -55,8 +55,8 @@ SkIRect AlignRect(const SkIRect& rect);
// Return a scaled rectangle using the horizontal and vertical scale
Sergey Ulanov 2011/12/20 00:05:35 please update this comment
Wez 2011/12/20 07:14:14 Done.
// factors.
SkIRect ScaleRect(const SkIRect& rect,
- double horizontal_ratio,
- double vertical_ratio);
+ const SkISize& in_size,
+ const SkISize& out_size);
// Copy pixels in the rectangle from source to destination.
void CopyRect(const uint8* src_plane,

Powered by Google App Engine
This is Rietveld 408576698