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

Unified Diff: site/try/poi/poi.dart

Issue 1536873002: - Fix use of Platform.packageRoot. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: site/try/poi/poi.dart
diff --git a/site/try/poi/poi.dart b/site/try/poi/poi.dart
index b9f77535919c3ccd7a184b6159bc120d1abe7d48..be9815317e204cea3902565d752c015eb20e608d 100644
--- a/site/try/poi/poi.dart
+++ b/site/try/poi/poi.dart
@@ -392,8 +392,7 @@ Future<Element> runPoi(
api.DiagnosticHandler handler) {
Stopwatch sw = new Stopwatch()..start();
Uri libraryRoot = Uri.base.resolve('sdk/');
- Uri packageRoot = Uri.base.resolveUri(
- new Uri.file('${io.Platform.packageRoot}/'));
+ Uri packageRoot = Uri.base.resolve(io.Platform.packageRoot);
var options = [
'--analyze-main',
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698