Index: utils/apidoc/apidoc.dart |
diff --git a/utils/apidoc/apidoc.dart b/utils/apidoc/apidoc.dart |
index 1d29041b76810c073c5d9220dc75af312e25d9eb..326cce2f14ebe5475b0a49702c801afbc4c69eec 100644 |
--- a/utils/apidoc/apidoc.dart |
+++ b/utils/apidoc/apidoc.dart |
@@ -116,7 +116,7 @@ void main(List<String> args) { |
// TODO(amouravski): move HtmlDiff inside of the future chain below to re-use |
// the MirrorSystem already analyzed. |
_diff = new HtmlDiff(printWarnings:false); |
- Future htmlDiff = _diff.run(currentDirectory.resolve(libPath)); |
+ Future htmlDiff = _diff.run(currentDirectory.resolveUri(path.toUri(libPath))); |
// TODO(johnniwinther): Libraries for the compilation seem to be more like |
// URIs. Perhaps Path should have a toURI() method. |