mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
Small fixup to my last patch (no bug, r=blassey)
This commit is contained in:
parent
1da9690037
commit
4cf99612e2
@ -290,8 +290,6 @@ public class LayerRenderer implements GLSurfaceView.Renderer {
|
||||
}
|
||||
|
||||
public void addLayer(Layer layer) {
|
||||
LayerController controller = mView.getController();
|
||||
|
||||
synchronized (mExtraLayers) {
|
||||
if (mExtraLayers.contains(layer)) {
|
||||
mExtraLayers.remove(layer);
|
||||
@ -302,8 +300,6 @@ public class LayerRenderer implements GLSurfaceView.Renderer {
|
||||
}
|
||||
|
||||
public void removeLayer(Layer layer) {
|
||||
LayerController controller = mView.getController();
|
||||
|
||||
synchronized (mExtraLayers) {
|
||||
mExtraLayers.remove(layer);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user