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

Unified Diff: pkg/compiler/lib/src/deferred_load.dart

Issue 2995253002: DeferredTask.isDeferredClass Element->Entity (Closed)
Patch Set: Created 3 years, 4 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 | « no previous file | tests/compiler/dart2js_extra/dart2js_extra.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/deferred_load.dart
diff --git a/pkg/compiler/lib/src/deferred_load.dart b/pkg/compiler/lib/src/deferred_load.dart
index 722812b266726acde422b08401661b2593441d56..43ad9971fae26dd65f4555cb0f57186685f3d02e 100644
--- a/pkg/compiler/lib/src/deferred_load.dart
+++ b/pkg/compiler/lib/src/deferred_load.dart
@@ -212,11 +212,11 @@ class DeferredLoadTask extends CompilerTask {
return _constantToOutputUnit;
}
- bool isDeferred(Element element) {
+ bool isDeferred(Entity element) {
return outputUnitForElement(element) != mainOutputUnit;
}
- bool isDeferredClass(ClassElement element) {
+ bool isDeferredClass(ClassEntity element) {
return outputUnitForElement(element) != mainOutputUnit;
}
« no previous file with comments | « no previous file | tests/compiler/dart2js_extra/dart2js_extra.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698