android/source/src/java/org/mozilla/gecko/gfx/Layer.java | 11 ----------- 1 file changed, 11 deletions(-)
New commits: commit 7f70661546a4ee469a63a093ee668d6ad4ad049f Author: Michael Weghorn <[email protected]> AuthorDate: Wed Nov 12 14:20:00 2025 +0100 Commit: Michael Weghorn <[email protected]> CommitDate: Fri Nov 14 11:49:58 2025 +0100 android: Drop unused Layer.getResolution Change-Id: I6d437b8c97c82887d94d4863a23138caad3d42f1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193869 Tested-by: Jenkins Reviewed-by: Michael Weghorn <[email protected]> diff --git a/android/source/src/java/org/mozilla/gecko/gfx/Layer.java b/android/source/src/java/org/mozilla/gecko/gfx/Layer.java index 0ce12a01a6f1..41a015df9c08 100644 --- a/android/source/src/java/org/mozilla/gecko/gfx/Layer.java +++ b/android/source/src/java/org/mozilla/gecko/gfx/Layer.java @@ -115,11 +115,6 @@ public abstract class Layer { mNewPosition = newPosition; } - /** Returns the current layer's resolution. */ - public float getResolution() { - return mResolution; - } - public boolean usesDefaultProgram() { return mUsesDefaultProgram; } commit 243d1e968fe6c4069aff18ca871fac4c2aa69b75 Author: Michael Weghorn <[email protected]> AuthorDate: Wed Nov 12 14:15:16 2025 +0100 Commit: Michael Weghorn <[email protected]> CommitDate: Fri Nov 14 11:49:47 2025 +0100 android: Drop Layer.mNewResolution With Change-Id: I2012a292eb1e8508b73ebab7db2eda6a488e1988 Author: Michael Weghorn <[email protected]> Date: Wed Nov 12 14:10:22 2025 +0100 android: Drop unused Layer.setResolution in place, it can be seen that its use doesn't result in any other value getting assigned to mResolution (that starts with an initial value of 1.0), so drop it. Change-Id: Ie6bb82d170df083273127d53d8c15f7a7eeeae65 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193868 Reviewed-by: Michael Weghorn <[email protected]> Tested-by: Jenkins diff --git a/android/source/src/java/org/mozilla/gecko/gfx/Layer.java b/android/source/src/java/org/mozilla/gecko/gfx/Layer.java index 2b2529e8eb96..0ce12a01a6f1 100644 --- a/android/source/src/java/org/mozilla/gecko/gfx/Layer.java +++ b/android/source/src/java/org/mozilla/gecko/gfx/Layer.java @@ -18,7 +18,6 @@ public abstract class Layer { private final ReentrantLock mTransactionLock; private boolean mInTransaction; private Rect mNewPosition; - private float mNewResolution; protected Rect mPosition; protected float mResolution; @@ -89,7 +88,6 @@ public abstract class Layer { throw new RuntimeException("Nested transactions are not supported"); mTransactionLock.lock(); mInTransaction = true; - mNewResolution = mResolution; } /** Call this when you're done modifying the layer. */ @@ -137,10 +135,6 @@ public abstract class Layer { mPosition = mNewPosition; mNewPosition = null; } - if (mNewResolution != 0.0f) { - mResolution = mNewResolution; - mNewResolution = 0.0f; - } } /**
