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

Unified Diff: pkg/analysis_server/lib/src/computer/computer_navigation.dart

Issue 628293004: Remove references to Engine classes from protocol.dart (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 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 | pkg/analysis_server/lib/src/computer/computer_occurrences.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/computer/computer_navigation.dart
diff --git a/pkg/analysis_server/lib/src/computer/computer_navigation.dart b/pkg/analysis_server/lib/src/computer/computer_navigation.dart
index a82cbe1e20c64fb4e0d509eeda59c372698d79c0..17f9af55b46ffb33dd1ce2556ea7578f2b575fe3 100644
--- a/pkg/analysis_server/lib/src/computer/computer_navigation.dart
+++ b/pkg/analysis_server/lib/src/computer/computer_navigation.dart
@@ -4,7 +4,7 @@
library computer.navigation;
-import 'package:analysis_server/src/protocol.dart' as protocol;
+import 'package:analysis_server/src/protocol_server.dart' as protocol;
import 'package:analyzer/src/generated/ast.dart';
import 'package:analyzer/src/generated/element.dart';
import 'package:analyzer/src/generated/scanner.dart';
@@ -36,7 +36,7 @@ class DartUnitNavigationComputer {
if (element == null || element == DynamicElementImpl.instance) {
return;
}
- protocol.Element target = new protocol.Element.fromEngine(element);
+ protocol.Element target = protocol.newElement_fromEngine(element);
_regions.add(new protocol.NavigationRegion(offset, length, [target]));
}
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/computer/computer_occurrences.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698