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

Unified Diff: pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart

Issue 2684783003: Refactor ConstantSystem (Closed)
Patch Set: Rebased Created 3 years, 10 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/compiler/lib/src/js_backend/custom_elements_analysis.dart
diff --git a/pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart b/pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart
index d79f34739dadb3745e0bd50af056ddef7526e797..aacaaee812648e2b8f13f0d344f6a6074913dbcd 100644
--- a/pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart
+++ b/pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart
@@ -189,7 +189,8 @@ class CustomElementsAnalysisJoin {
TypeConstantValue makeTypeConstant(ClassElement element) {
ResolutionDartType elementType = element.rawType;
- return backend.constantSystem.createType(compiler, elementType);
+ return backend.constantSystem.createType(
+ compiler.commonElements, compiler.backend.backendClasses, elementType);
}
List<ConstructorElement> computeEscapingConstructors(

Powered by Google App Engine
This is Rietveld 408576698