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

Unified Diff: dart/editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/server/VmLibraryRef.java

Issue 772443002: Version 1.8.2 (Closed) Base URL: http://dart.googlecode.com/svn/branches/1.8/
Patch Set: Created 6 years, 1 month 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: dart/editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/server/VmLibraryRef.java
===================================================================
--- dart/editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/server/VmLibraryRef.java (revision 42030)
+++ dart/editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/server/VmLibraryRef.java (working copy)
@@ -81,8 +81,7 @@
* Returns whether this library ref is for an internal Dart library.
*/
public boolean isInternal() {
- return "dart:_internal".equals(url) || "dart:builtin".equals(url)
- || "dart:nativewrappers".equals(url);
+ return url.startsWith("dart:_") || "dart:nativewrappers".equals(url);
}
@Override

Powered by Google App Engine
This is Rietveld 408576698