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

Unified Diff: lib/src/common/polymer_mixin.dart

Issue 1351693003: Update to use one less proxy per element (Closed) Base URL: git@github.com:dart-lang/polymer-dart.git@behaviors
Patch Set: update comments Created 5 years, 3 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 | « lib/src/common/polymer_descriptor.dart ('k') | lib/src/common/polymer_serialize.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/common/polymer_mixin.dart
diff --git a/lib/src/common/polymer_mixin.dart b/lib/src/common/polymer_mixin.dart
index 5b69770261293ea1817406cd2f423cecc88edfbf..c85db34d1d89f2df546137ad4995d6ab2efce60e 100644
--- a/lib/src/common/polymer_mixin.dart
+++ b/lib/src/common/polymer_mixin.dart
@@ -15,14 +15,13 @@ abstract class PolymerMixin implements JsProxy, CustomElementProxyMixin {
JsObject get jsElement {
if (_proxy == null) {
_proxy = new JsObject.fromBrowserObject(this);
- _proxy['__data__'] = jsProxy;
}
return _proxy;
}
void polymerCreated() {
- // Use a cache for js proxy values.
- useCache = true;
jsElement.callMethod('originalPolymerCreatedCallback');
}
+
+
}
« no previous file with comments | « lib/src/common/polymer_descriptor.dart ('k') | lib/src/common/polymer_serialize.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698