Commit 0d59dc4c by andrewlewis Committed by Oliver Woodman

Fix variable name

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=199120421
parent b68dcb0b
...@@ -156,7 +156,7 @@ public final class DummySurface extends Surface { ...@@ -156,7 +156,7 @@ public final class DummySurface extends Surface {
private static final int MSG_INIT = 1; private static final int MSG_INIT = 1;
private static final int MSG_RELEASE = 2; private static final int MSG_RELEASE = 2;
private @MonotonicNonNull EGLSurfaceTexture eglSurfaceTexure; private @MonotonicNonNull EGLSurfaceTexture eglSurfaceTexture;
private @MonotonicNonNull Handler handler; private @MonotonicNonNull Handler handler;
private @Nullable Error initError; private @Nullable Error initError;
private @Nullable RuntimeException initException; private @Nullable RuntimeException initException;
...@@ -169,7 +169,7 @@ public final class DummySurface extends Surface { ...@@ -169,7 +169,7 @@ public final class DummySurface extends Surface {
public DummySurface init(@SecureMode int secureMode) { public DummySurface init(@SecureMode int secureMode) {
start(); start();
handler = new Handler(getLooper(), /* callback= */ this); handler = new Handler(getLooper(), /* callback= */ this);
eglSurfaceTexure = new EGLSurfaceTexture(handler); eglSurfaceTexture = new EGLSurfaceTexture(handler);
boolean wasInterrupted = false; boolean wasInterrupted = false;
synchronized (this) { synchronized (this) {
handler.obtainMessage(MSG_INIT, secureMode, 0).sendToTarget(); handler.obtainMessage(MSG_INIT, secureMode, 0).sendToTarget();
...@@ -232,16 +232,16 @@ public final class DummySurface extends Surface { ...@@ -232,16 +232,16 @@ public final class DummySurface extends Surface {
} }
private void initInternal(@SecureMode int secureMode) { private void initInternal(@SecureMode int secureMode) {
Assertions.checkNotNull(eglSurfaceTexure); Assertions.checkNotNull(eglSurfaceTexture);
eglSurfaceTexure.init(secureMode); eglSurfaceTexture.init(secureMode);
this.surface = this.surface =
new DummySurface( new DummySurface(
this, eglSurfaceTexure.getSurfaceTexture(), secureMode != SECURE_MODE_NONE); this, eglSurfaceTexture.getSurfaceTexture(), secureMode != SECURE_MODE_NONE);
} }
private void releaseInternal() { private void releaseInternal() {
Assertions.checkNotNull(eglSurfaceTexure); Assertions.checkNotNull(eglSurfaceTexture);
eglSurfaceTexure.release(); eglSurfaceTexture.release();
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment