diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-02-13 18:24:55 +0900 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-02-16 09:20:50 +0100 |
commit | 71c568406613c3aa423679dcc5f63b6b24d11f03 (patch) | |
tree | c9ad288ac6632a038dd7edbaa7339172ce1b88c1 /android | |
parent | 05b49687acb1661448c99c90f40854feeda8bda3 (diff) |
android: remove ImmutableViewportMetrics as input to endDrawing
Change-Id: Iec55bc182845bfa09cf6d03ab787fc1f2e0ee7fc
Diffstat (limited to 'android')
-rw-r--r-- | android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitThread.java | 6 | ||||
-rw-r--r-- | android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/GeckoLayerClient.java | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitThread.java b/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitThread.java index a737d18fe163..cef7ac8916c2 100644 --- a/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitThread.java +++ b/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitThread.java @@ -40,7 +40,7 @@ public class LOKitThread extends Thread implements TileProvider.TileInvalidation mLayerClient.beginDrawing(); SubTile tile = new SubTile(image, tileId); composedTileLayer.addTile(tile); - mLayerClient.endDrawing(mViewportMetrics); + mLayerClient.endDrawing(); mLayerClient.forceRender(); } } else { @@ -57,7 +57,7 @@ public class LOKitThread extends Thread implements TileProvider.TileInvalidation mLayerClient.beginDrawing(); mTileProvider.rerenderTile(tile.getImage(), tile.id.x, tile.id.y, tile.id.size, tile.id.zoom); tile.invalidate(); - mLayerClient.endDrawing(mViewportMetrics); + mLayerClient.endDrawing(); mLayerClient.forceRender(); } } @@ -78,7 +78,7 @@ public class LOKitThread extends Thread implements TileProvider.TileInvalidation for (SubTile tile : tiles) { tile.invalidate(); } - mLayerClient.endDrawing(mViewportMetrics); + mLayerClient.endDrawing(); mLayerClient.forceRender(); } 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 83a13245af70..93beb3da45b1 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 @@ -240,7 +240,7 @@ public class GeckoLayerClient implements PanZoomTarget, LayerView.Listener { mRootLayer.beginTransaction(); } - public void endDrawing(ImmutableViewportMetrics viewportMetrics) { + public void endDrawing() { synchronized (this) { mLowResLayer.endTransaction(); mRootLayer.endTransaction(); |