Index: content/browser/renderer_host/buffered_resource_handler.cc |
diff --git a/content/browser/renderer_host/buffered_resource_handler.cc b/content/browser/renderer_host/buffered_resource_handler.cc |
index 3cfbbbab95f24c3ea06e0ef6bbe0c921a88d3d10..23e2e7b46f8b348107d6aaa2ff2a36f16899f8c5 100644 |
--- a/content/browser/renderer_host/buffered_resource_handler.cc |
+++ b/content/browser/renderer_host/buffered_resource_handler.cc |
@@ -184,19 +184,6 @@ bool BufferedResourceHandler::DelayResponse() { |
response_->mime_type.assign(mime_type); |
} |
- if (mime_type == "application/rss+xml" || |
- mime_type == "application/atom+xml") { |
- // Sad face. The server told us that they wanted us to treat the response |
- // as RSS or Atom. Unfortunately, we don't have a built-in feed previewer |
- // like other browsers. We can't just render the content as XML because |
- // web sites let third parties inject arbitrary script into their RSS |
- // feeds. That leaves us with little choice but to practically ignore the |
- // response. In the future, when we have an RSS feed previewer, we can |
- // remove this logic. |
- mime_type.assign("text/plain"); |
- response_->mime_type.assign(mime_type); |
- } |
- |
if (!not_modified_status && ShouldWaitForPlugins()) { |
wait_for_plugins_ = true; |
return true; |