Index: remoting/android/java/src/org/chromium/chromoting/DesktopView.java |
diff --git a/remoting/android/java/src/org/chromium/chromoting/DesktopView.java b/remoting/android/java/src/org/chromium/chromoting/DesktopView.java |
index 1139380e232572aa28450827a695b69ec4eba3b5..45e616d1292f3b75ce99b54c1521894e693c1cb4 100644 |
--- a/remoting/android/java/src/org/chromium/chromoting/DesktopView.java |
+++ b/remoting/android/java/src/org/chromium/chromoting/DesktopView.java |
@@ -81,7 +81,7 @@ public class DesktopView extends AbstractDesktopView implements SurfaceHolder.Ca |
* cause the UI to lag. Specifically, it is currently invoked on the native |
* graphics thread using a JNI. |
*/ |
- public void paint() { |
+ private void paint() { |
long startTimeMs = SystemClock.uptimeMillis(); |
if (Looper.myLooper() == Looper.getMainLooper()) { |
@@ -239,7 +239,7 @@ public class DesktopView extends AbstractDesktopView implements SurfaceHolder.Ca |
} |
@Override |
- public void cursorMoved() { |
+ public void cursorMoved(boolean followedByViewportChange) { |
// For current implementation, cursorMoved() is always followed by transformationChanged() |
// even if the canvas isn't really changed. For future we should improve this by not calling |
// transformationChanged() if the cursor is moved but the canvas is not changed. |