summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-02-17 19:15:52 +0900
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-02-23 10:10:24 +0100
commitf699de99bdc86408c47086d15f80408734c42ae4 (patch)
tree6c7c410160305c9e30b1fd6cd720f7affa50312c /android
parentb8a2e465ff2e1893aab0a78cad180b7db3a1df04 (diff)
android: no need endDrawing to be synchronized
Change-Id: I50bee82140e444d918ca759816edf6992a47644b
Diffstat (limited to 'android')
-rw-r--r--android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/GeckoLayerClient.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/GeckoLayerClient.java b/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/GeckoLayerClient.java
index 98f32215e2e4..40fb8bb9c926 100644
--- a/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/GeckoLayerClient.java
+++ b/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/GeckoLayerClient.java
@@ -231,10 +231,8 @@ public class GeckoLayerClient implements PanZoomTarget {
}
public void endDrawing() {
- synchronized (this) {
- mLowResLayer.endTransaction();
- mRootLayer.endTransaction();
- }
+ mLowResLayer.endTransaction();
+ mRootLayer.endTransaction();
}
public void geometryChanged() {