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

Unified Diff: runtime/bin/vmservice/server.dart

Issue 26686005: Revert 28422 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 | « runtime/bin/vmservice/resources.dart ('k') | runtime/bin/vmservice_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/vmservice/server.dart
diff --git a/runtime/bin/vmservice/server.dart b/runtime/bin/vmservice/server.dart
index 7992b3b091f6e854b345bb418c313a47f5a08996..08e8d9b10dc34e17d9d2f61b9de10440bd5d5010 100644
--- a/runtime/bin/vmservice/server.dart
+++ b/runtime/bin/vmservice/server.dart
@@ -22,8 +22,7 @@ class Server {
var resource = Resource.resources[path];
if (resource != null) {
// Serving up a static resource (e.g. .css, .html, .png).
- request.response.headers.contentType =
- ContentType.parse(resource.mimeType);
+ request.response.headers.contentType = ContentType.parse(mimeType);
request.response.add(resource.data);
request.response.close();
return;
« no previous file with comments | « runtime/bin/vmservice/resources.dart ('k') | runtime/bin/vmservice_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698