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

Unified Diff: lib/src/info.dart

Issue 19497002: Reducing the amount of code we generate in the compiler: We still continue (Closed) Base URL: git@github.com:dart-lang/web-ui.git@master
Patch Set: Created 7 years, 5 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: lib/src/info.dart
diff --git a/lib/src/info.dart b/lib/src/info.dart
index d52dbee0df9052269637b34d44e2858776f18fc5..80749853d6137a5984821feb685e113ca058763e 100644
--- a/lib/src/info.dart
+++ b/lib/src/info.dart
@@ -193,9 +193,6 @@ class ComponentInfo extends LibraryInfo implements ComponentSummary {
ClassDeclaration get classDeclaration => _classDeclaration;
ClassDeclaration _classDeclaration;
- /** Component's <element> element. */
- Element elementNode;
-
// TODO(terry): Remove once we stop mangling CSS selectors.
/** CSS selectors scoped. */
bool scoped = false;
@@ -243,7 +240,7 @@ class ComponentInfo extends LibraryInfo implements ComponentSummary {
// pretend the user wrote it as inlined code.
if (userCode == null) {
var superclass = extendsComponent != null ? extendsComponent.className
- : 'autogenerated.WebComponent';
+ : 'autogenerated.PolymerElement';
inlinedCode = new DartCodeInfo(null, null, [],
'class $className extends $superclass {\n}', null);
}

Powered by Google App Engine
This is Rietveld 408576698