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

Unified Diff: plugins/org.chromium.debug.core/src/org/chromium/debug/core/VProjectSourceContainer.java

Issue 7089017: Change source look-up design (Closed) Base URL: https://chromedevtools.googlecode.com/svn/trunk
Patch Set: fcr Created 9 years, 6 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: plugins/org.chromium.debug.core/src/org/chromium/debug/core/VProjectSourceContainer.java
diff --git a/plugins/org.chromium.debug.core/src/org/chromium/debug/core/VProjectSourceContainer.java b/plugins/org.chromium.debug.core/src/org/chromium/debug/core/VProjectSourceContainer.java
index cb4df6a1cc3c952cb1609883ff8405c9a1314b22..aaff8c70c1e9d58f64740f05be0a7fb63c6b911c 100644
--- a/plugins/org.chromium.debug.core/src/org/chromium/debug/core/VProjectSourceContainer.java
+++ b/plugins/org.chromium.debug.core/src/org/chromium/debug/core/VProjectSourceContainer.java
@@ -49,11 +49,7 @@ public class VProjectSourceContainer implements ISourceContainer {
return new Object[0];
}
ResourceManager resourceManager = chromiumSourceDirector.getResourceManager();
- IFile file = resourceManager.getFile(name);
- if (file == null) {
- return new Object[0];
- }
- return new Object[] { file };
+ return new Object[] { resourceManager };
}
public String getName() {

Powered by Google App Engine
This is Rietveld 408576698