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

Unified Diff: client/html/generated/src/wrapping/_StyleSheetListWrappingImplementation.dart

Issue 8835006: New version of dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix typos Created 9 years 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
Index: client/html/generated/src/wrapping/_StyleSheetListWrappingImplementation.dart
diff --git a/client/html/generated/src/wrapping/_StyleSheetListWrappingImplementation.dart b/client/html/generated/src/wrapping/_StyleSheetListWrappingImplementation.dart
index cb6102da53df129ac354ab3d85b693c6c536891e..b3c32b209ca7cb33358235af1f9d1bcf748b6adc 100644
--- a/client/html/generated/src/wrapping/_StyleSheetListWrappingImplementation.dart
+++ b/client/html/generated/src/wrapping/_StyleSheetListWrappingImplementation.dart
@@ -10,11 +10,11 @@ class StyleSheetListWrappingImplementation extends DOMWrapperBase implements Sty
int get length() { return _ptr.length; }
StyleSheet operator[](int index) {
- return item(index);
+ return LevelDom.wrapStyleSheet(_ptr[index]);
}
void operator[]=(int index, StyleSheet value) {
- throw new UnsupportedOperationException("Cannot assign element of immutable List.");
+ _ptr[index] = LevelDom.unwrap(value);
}
void add(StyleSheet value) {
@@ -42,7 +42,7 @@ class StyleSheetListWrappingImplementation extends DOMWrapperBase implements Sty
}
int lastIndexOf(StyleSheet element, [int start = null]) {
- if (start == null) start = length - 1;
+ if (start === null) start = length - 1;
return _Lists.lastIndexOf(this, element, start);
}

Powered by Google App Engine
This is Rietveld 408576698