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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartLibraryImpl.java

Issue 10918063: Remove dom_deprecated from everywhere but lib/dom and lib/html (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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 | « no previous file | lib/_internal/libraries.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartLibraryImpl.java
===================================================================
--- editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartLibraryImpl.java (revision 11903)
+++ editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartLibraryImpl.java (working copy)
@@ -604,8 +604,8 @@
}
/**
- * Answer <code>true</code> if the receiver directly or indirectly imports the dart:dom_deprecated
- * or dart:html libraries
+ * Answer <code>true</code> if the receiver directly or indirectly imports the
+ * dart:html libraries.
*/
public boolean isOrImportsBrowserLibrary() {
List<DartLibrary> visited = new ArrayList<DartLibrary>(10);
@@ -613,7 +613,7 @@
for (int index = 0; index < visited.size(); index++) {
DartLibrary library = visited.get(index);
String libraryName = library.getElementName();
- if ("dart:html".equals(libraryName) || "dart:dom_deprecated".equals(libraryName)) {
+ if ("dart:html".equals(libraryName))) {
return true;
}
try {
« no previous file with comments | « no previous file | lib/_internal/libraries.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698