| Index: compiler/java/com/google/dart/compiler/resolver/Elements.java
|
| diff --git a/compiler/java/com/google/dart/compiler/resolver/Elements.java b/compiler/java/com/google/dart/compiler/resolver/Elements.java
|
| index de23bb95a57a417b0f287b4952445db006e78f33..01ef8d560cb57458cade19fd36eb7a9183e27e38 100644
|
| --- a/compiler/java/com/google/dart/compiler/resolver/Elements.java
|
| +++ b/compiler/java/com/google/dart/compiler/resolver/Elements.java
|
| @@ -727,6 +727,10 @@ static FieldElementImplementation fieldFromNode(DartField node,
|
| || Elements.isLibrarySource(source, "/core/core.dart")
|
| || Elements.isLibrarySource(source, "/core/coreimpl.dart");
|
| }
|
| +
|
| + public static boolean isHtmlLibrarySource(Source source) {
|
| + return Elements.isLibrarySource(source, "/html/dartium/html_dartium.dart");
|
| + }
|
|
|
| /**
|
| * @return the {@link LibraryElement} which declares given {@link Element}.
|
|
|