From 81e3002e79c6fbb2fc6b2562c1d8a7f091b2ffcc Mon Sep 17 00:00:00 2001 From: Kartikaya Gupta Date: Wed, 1 Aug 2012 10:48:19 -0400 Subject: [PATCH] Bug 777351 - Some minor cleanup in GeckoLayerClient.java. r=sriram --- mobile/android/base/gfx/GeckoLayerClient.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/mobile/android/base/gfx/GeckoLayerClient.java b/mobile/android/base/gfx/GeckoLayerClient.java index 98124d6a9838..01866a1940fb 100644 --- a/mobile/android/base/gfx/GeckoLayerClient.java +++ b/mobile/android/base/gfx/GeckoLayerClient.java @@ -39,7 +39,7 @@ public class GeckoLayerClient implements GeckoEventResponder, private DisplayPortMetrics mReturnDisplayPort; private boolean mRecordDrawTimes; - private DrawTimingQueue mDrawTimingQueue; + private final DrawTimingQueue mDrawTimingQueue; private VirtualLayer mRootLayer; @@ -52,13 +52,11 @@ public class GeckoLayerClient implements GeckoEventResponder, */ private ImmutableViewportMetrics mFrameMetrics; - private String mLastCheckerboardColor; - /* Used by robocop for testing purposes */ private DrawListener mDrawListener; /* Used as a temporary ViewTransform by syncViewportInfo */ - private ViewTransform mCurrentViewTransform; + private final ViewTransform mCurrentViewTransform; /* This is written by the compositor thread and read by the UI thread. */ private volatile boolean mCompositorCreated;