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

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

Issue 2272483002: [Remoting Android] Remove Synchronizations on RenderData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reviewer's Feedback / 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/android/java/src/org/chromium/chromoting/TouchInputStrategy.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/android/java/src/org/chromium/chromoting/TrackpadInputStrategy.java
diff --git a/remoting/android/java/src/org/chromium/chromoting/TrackpadInputStrategy.java b/remoting/android/java/src/org/chromium/chromoting/TrackpadInputStrategy.java
index e67a840205b5e17fe43ea35e8080bc59d52f1054..1eee000eed5196bad42ab8045d8848435492a6bb 100644
--- a/remoting/android/java/src/org/chromium/chromoting/TrackpadInputStrategy.java
+++ b/remoting/android/java/src/org/chromium/chromoting/TrackpadInputStrategy.java
@@ -24,9 +24,7 @@ public class TrackpadInputStrategy implements InputStrategyInterface {
mRenderData = renderData;
mInjector = injector;
- synchronized (mRenderData) {
- mRenderData.drawCursor = true;
- }
+ mRenderData.drawCursor = true;
}
@Override
@@ -77,8 +75,6 @@ public class TrackpadInputStrategy implements InputStrategyInterface {
}
private PointF getCursorPosition() {
- synchronized (mRenderData) {
- return mRenderData.getCursorPosition();
- }
+ return mRenderData.getCursorPosition();
}
}
« no previous file with comments | « remoting/android/java/src/org/chromium/chromoting/TouchInputStrategy.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698