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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/index/IndexImpl.java

Issue 11787017: Initial implementation of MemoryIndexStoreImpl and IndexContributor. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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
Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/index/IndexImpl.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/index/IndexImpl.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/index/IndexImpl.java
index d0255ff9e36a077541530366be825b465328051d..2a57ac18ac26a59618ee6ec97988097c6052ec76 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/index/IndexImpl.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/index/IndexImpl.java
@@ -14,7 +14,7 @@
package com.google.dart.engine.internal.index;
import com.google.dart.engine.ast.CompilationUnit;
-import com.google.dart.engine.element.ElementLocation;
+import com.google.dart.engine.element.ElementProxy;
import com.google.dart.engine.index.Index;
import com.google.dart.engine.index.IndexStore;
import com.google.dart.engine.index.Relationship;
@@ -41,9 +41,9 @@ public class IndexImpl implements Index {
}
@Override
- public void getRelationships(ElementLocation elementLocation, Relationship relationship,
+ public void getRelationships(ElementProxy element, Relationship relationship,
RelationshipCallback callback) {
- queue.enqueue(new GetRelationshipsOperation(store, elementLocation, relationship, callback));
+ queue.enqueue(new GetRelationshipsOperation(store, element, relationship, callback));
}
@Override

Powered by Google App Engine
This is Rietveld 408576698