Skip to content

Commit

Permalink
Remove originaltransformWindowToDrawingBuffer
Browse files Browse the repository at this point in the history
  • Loading branch information
lilleyse committed Apr 10, 2017
1 parent e1f1fd1 commit 3f7f48d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Specs/Scene/SceneSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,6 @@ defineSuite([

var canvas = scene.canvas;
var windowPosition = new Cartesian2(canvas.clientWidth / 2, canvas.clientHeight / 2);
var originaltransformWindowToDrawingBuffer = SceneTransforms.transformWindowToDrawingBuffer;
spyOn(SceneTransforms, 'transformWindowToDrawingBuffer').and.callThrough();

expect(scene).toRenderAndCall(function() {
Expand All @@ -873,7 +872,6 @@ defineSuite([

scene.pickPosition(windowPosition);
expect(SceneTransforms.transformWindowToDrawingBuffer.calls.count()).toEqual(2);
SceneTransforms.transformWindowToDrawingBuffer = originaltransformWindowToDrawingBuffer;
});
});

Expand Down

0 comments on commit 3f7f48d

Please sign in to comment.