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

Unified Diff: remoting/android/java/src/org/chromium/chromoting/cardboard/Cursor.java

Issue 2007123003: [Android Client] Break down multi-threaded classes by thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename JniSecretFetcher to JniPairingSecretFetcher Created 4 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
Index: remoting/android/java/src/org/chromium/chromoting/cardboard/Cursor.java
diff --git a/remoting/android/java/src/org/chromium/chromoting/cardboard/Cursor.java b/remoting/android/java/src/org/chromium/chromoting/cardboard/Cursor.java
index 534728a848c592961cae90a26966691e325cc399..40b87fac841dd56d504e66699cbfe30c08adccac 100644
--- a/remoting/android/java/src/org/chromium/chromoting/cardboard/Cursor.java
+++ b/remoting/android/java/src/org/chromium/chromoting/cardboard/Cursor.java
@@ -140,7 +140,7 @@ public class Cursor {
}
}
- Bitmap cursorBitmap = mClient.getCursorBitmap();
+ Bitmap cursorBitmap = mClient.getDisplay().getCursorBitmap();
if (cursorBitmap == mCursorBitmap) {
// Case when cursor image has not changed.
@@ -151,7 +151,7 @@ public class Cursor {
}
mCursorBitmap = cursorBitmap;
- updatePosition(desktop, mCursorBitmap, mClient.getCursorHotspot());
+ updatePosition(desktop, mCursorBitmap, mClient.getDisplay().getCursorHotspot());
TextureHelper.linkTexture(mTextureDataHandle, cursorBitmap);

Powered by Google App Engine
This is Rietveld 408576698