| Index: client/touch/Scroller.dart
|
| diff --git a/client/touch/Scroller.dart b/client/touch/Scroller.dart
|
| index 24a0fd9bd1007167e5b8fed1fb73a2801a8cf8c4..cb2823e99668725404f26d5e9d2526c5884f7436 100644
|
| --- a/client/touch/Scroller.dart
|
| +++ b/client/touch/Scroller.dart
|
| @@ -211,8 +211,7 @@ class Scroller implements Draggable, MomentumDelegate {
|
| });
|
| // The scrollable element must be relatively positioned.
|
| assert(_scrollTechnique != ScrollerScrollTechnique.RELATIVE_POSITIONING ||
|
| - new Css(window.getComputedStyle(
|
| - _element, null)).position != "static");
|
| + window.getComputedStyle(_element, null).position != "static");
|
| _initLayer();
|
| }
|
|
|
| @@ -620,8 +619,7 @@ class Scroller implements Draggable, MomentumDelegate {
|
|
|
| // The scrollable element must be relatively positioned.
|
| assert(technique != ScrollerScrollTechnique.RELATIVE_POSITIONING ||
|
| - new Css(window.getComputedStyle(_element, null)).position
|
| - != "static");
|
| + window.getComputedStyle(_element, null).position != "static");
|
|
|
| if (technique != ScrollerScrollTechnique.TRANSFORM_3D) {
|
| FxUtil.clearWebkitTransition(_element);
|
|
|