Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: client/touch/Scroller.dart

Issue 8360025: Move the individual property definitions from client/base/Css to CSSStyleDeclaration. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes. Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/touch/Scrollbar.dart ('k') | client/view/ConveyorView.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « client/touch/Scrollbar.dart ('k') | client/view/ConveyorView.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698