Skip to content

Commit

Permalink
Remove unused field
Browse files Browse the repository at this point in the history
Summary:
This field doesn't serve a purpose anymore.

Changelog: [Internal]

Reviewed By: PeteTheHeat

Differential Revision: D29118454

fbshipit-source-id: b755a761eb7e9854d48c99dfedaf2e871f29d7f7
  • Loading branch information
JoshuaGross authored and facebook-github-bot committed Jun 15, 2021
1 parent e67007c commit 883f465
Showing 1 changed file with 0 additions and 3 deletions.
Expand Up @@ -64,7 +64,6 @@ public class SurfaceMountingManager {

// This is null *until* StopSurface is called.
private Set<Integer> mTagSetForStoppedSurface;
private long mLastSuccessfulQueryTime = -1;

private final int mSurfaceId;

Expand Down Expand Up @@ -139,7 +138,6 @@ public boolean getViewExists(int tag) {
// deleted. This helps distinguish between scenarios where an invalid tag is referenced, vs
// race conditions where an imperative method is called on a tag during/just after StopSurface.
if (mTagSetForStoppedSurface != null && mTagSetForStoppedSurface.contains(tag)) {
mLastSuccessfulQueryTime = System.currentTimeMillis();
return true;
}
if (mTagToViewState == null) {
Expand Down Expand Up @@ -267,7 +265,6 @@ public void run() {
}

// Evict all views from cache and memory
mLastSuccessfulQueryTime = System.currentTimeMillis();
mTagSetForStoppedSurface = mTagToViewState.keySet();
mTagToViewState = null;
mJSResponderHandler = null;
Expand Down

0 comments on commit 883f465

Please sign in to comment.