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

Unified Diff: tools/testing/dart/http_server.dart

Issue 234673003: Reduce test.dart memory usage. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Improve Created 6 years, 8 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: tools/testing/dart/http_server.dart
diff --git a/tools/testing/dart/http_server.dart b/tools/testing/dart/http_server.dart
index 8e942d6cdda748424e05d42211f53deb2d103c80..c96ddb980ee32a2cd19cc9b17a2f5b870d6dfd2f 100644
--- a/tools/testing/dart/http_server.dart
+++ b/tools/testing/dart/http_server.dart
@@ -116,7 +116,7 @@ class TestingServers {
this.useContentSecurityPolicy,
[String this.runtime = 'none', String dartDirectory]) {
_buildDirectory = TestUtils.absolutePath(buildDirectory);
- _dartDirectory = dartDirectory == null ? TestUtils.dartDir()
+ _dartDirectory = dartDirectory == null ? TestUtils.dartDir
: new Path(dartDirectory);
}
@@ -141,7 +141,7 @@ class TestingServers {
String httpServerCommandline() {
var dart = TestUtils.dartTestExecutable.toNativePath();
- var dartDir = TestUtils.dartDir();
+ var dartDir = TestUtils.dartDir;
var script = dartDir.join(new Path("tools/testing/dart/http_server.dart"));
var buildDirectory = _buildDirectory.toNativePath();
var csp = useContentSecurityPolicy ? '--csp ' : '';

Powered by Google App Engine
This is Rietveld 408576698