| Index: tools/dom/templates/html/impl/impl_Window.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_Window.darttemplate b/tools/dom/templates/html/impl/impl_Window.darttemplate
|
| index aaa1b97296d0dd76e9662ac907ce7ae04ce5292d..1e5c50b990284bb56239979a93862494d16b1d7c 100644
|
| --- a/tools/dom/templates/html/impl/impl_Window.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_Window.darttemplate
|
| @@ -164,7 +164,7 @@ $if DART2JS
|
| @DomName('Window.requestAnimationFrame')
|
| int requestAnimationFrame(RequestAnimationFrameCallback callback) {
|
| _ensureRequestAnimationFrame();
|
| - return _requestAnimationFrame(_wrapZone(callback));
|
| + return _requestAnimationFrame(callback);
|
| }
|
|
|
| void cancelAnimationFrame(int id) {
|
| @@ -238,27 +238,6 @@ $else
|
| void _setImmediate(void callback()) {
|
| throw new UnsupportedError('setImmediate is not supported');
|
| }
|
| -
|
| - /**
|
| - * Called to draw an animation frame and then request the window to repaint
|
| - * after [callback] has finished (creating the animation).
|
| - *
|
| - * Use this method only if you need to later call [cancelAnimationFrame]. If
|
| - * not, the preferred Dart idiom is to set animation frames by calling
|
| - * [animationFrame], which returns a Future.
|
| - *
|
| - * Returns a non-zero valued integer to represent the request id for this
|
| - * request. This value only needs to be saved if you intend to call
|
| - * [cancelAnimationFrame] so you can specify the particular animation to
|
| - * cancel.
|
| - *
|
| - * Note: The supplied [callback] needs to call [requestAnimationFrame] again
|
| - * for the animation to continue.
|
| - */
|
| - @DomName('Window.requestAnimationFrame')
|
| - int requestAnimationFrame(RequestAnimationFrameCallback callback) {
|
| - return _requestAnimationFrame(_wrapZone(callback));
|
| - }
|
| $endif
|
|
|
| /**
|
|
|