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

Unified Diff: remoting/client/gl_cursor.cc

Issue 2255663002: [Remoting Android] Use floating point coords for rendering the cursor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge ToT Created 4 years, 4 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 | « remoting/client/gl_cursor.h ('k') | remoting/client/gl_cursor_feedback.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/gl_cursor.cc
diff --git a/remoting/client/gl_cursor.cc b/remoting/client/gl_cursor.cc
index ceab13e7ade80db529c438ec37b9e23860de85d1..152923ad468d9607f2565ef69faa69e34e11148d 100644
--- a/remoting/client/gl_cursor.cc
+++ b/remoting/client/gl_cursor.cc
@@ -49,7 +49,7 @@ void GlCursor::SetCursorShape(const protocol::CursorShapeInfo& cursor_shape) {
SetCursorPosition(cursor_x_, cursor_y_);
}
-void GlCursor::SetCursorPosition(int x, int y) {
+void GlCursor::SetCursorPosition(float x, float y) {
cursor_x_ = x;
cursor_y_ = y;
if (!current_cursor_data_) {
« no previous file with comments | « remoting/client/gl_cursor.h ('k') | remoting/client/gl_cursor_feedback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698