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

Unified Diff: pkg/polymer/lib/src/instance.dart

Issue 50703009: polymer warning clean (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: samples.status Created 7 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
Index: pkg/polymer/lib/src/instance.dart
diff --git a/pkg/polymer/lib/src/instance.dart b/pkg/polymer/lib/src/instance.dart
index 30a3ddea3b908c4c286c2361e48808322020b03c..348a61fd06c687a6ada9a20b4828b0986bc2d57e 100644
--- a/pkg/polymer/lib/src/instance.dart
+++ b/pkg/polymer/lib/src/instance.dart
@@ -581,7 +581,7 @@ abstract class Polymer implements Element, Observable, NodeBindExtension {
}
}
- void unbindProperty(String name) => unregisterObserver(name);
+ bool unbindProperty(String name) => unregisterObserver(name);
void unbindAllProperties() {
if (_propertyObserver != null) {
@@ -905,7 +905,7 @@ abstract class Polymer implements Element, Observable, NodeBindExtension {
decl = decl.superDeclaration;
}
if (cssText.length > 0) {
- var style = this.element.cssTextToScopeStyle(cssText.toString(),
+ var style = decl.cssTextToScopeStyle(cssText.toString(),
_STYLE_CONTROLLER_SCOPE);
// TODO(sorvell): for now these styles are not shimmed
// but we may need to shim them
« pkg/pkg.status ('K') | « pkg/pkg.status ('k') | pkg/polymer/test/bind_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698