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

Unified Diff: utils/apidoc/html_diff.dart

Issue 10780030: Dartdoc and apidoc updated to use Path. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments Created 8 years, 5 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 | « utils/apidoc/apidoc.gyp ('k') | utils/apidoc/html_diff_dump.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/apidoc/html_diff.dart
diff --git a/utils/apidoc/html_diff.dart b/utils/apidoc/html_diff.dart
index 8d55542491cc7bed111a6d402cffa07eed7d1a00..f1c58f88999afb57df2931c7946c4d792d988912 100644
--- a/utils/apidoc/html_diff.dart
+++ b/utils/apidoc/html_diff.dart
@@ -9,6 +9,7 @@
#library('html_diff');
#import('dart:coreimpl');
+#import('dart:io');
#import('../../lib/dartdoc/dartdoc.dart');
#import('../../lib/dartdoc/mirrors/mirrors.dart');
@@ -76,9 +77,12 @@ class HtmlDiff {
* Perform static initialization of [world]. This should be run before
* calling [HtmlDiff.run].
*/
- static void initialize(String libDir) {
+ static void initialize(Path libDir) {
_compilation = new Compilation.library(
- const <String>['dart:dom_deprecated', 'dart:html'], libDir);
+ const <Path>[
+ const Path('dart:dom_deprecated'),
+ const Path('dart:html')
+ ], libDir);
_mirrors = _compilation.mirrors();
// Find 'dart:dom_deprecated' by its library tag 'dom'.
« no previous file with comments | « utils/apidoc/apidoc.gyp ('k') | utils/apidoc/html_diff_dump.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698