Index: third_party/WebKit/Source/core/fetch/XSLStyleSheetResource.cpp |
diff --git a/third_party/WebKit/Source/core/fetch/XSLStyleSheetResource.cpp b/third_party/WebKit/Source/core/fetch/XSLStyleSheetResource.cpp |
index 9d77f2282745aa7c9fb07dba8d2b611ef7697afc..ffbed56811161c7c2980a288766be807395bf34d 100644 |
--- a/third_party/WebKit/Source/core/fetch/XSLStyleSheetResource.cpp |
+++ b/third_party/WebKit/Source/core/fetch/XSLStyleSheetResource.cpp |
@@ -59,11 +59,6 @@ XSLStyleSheetResource::XSLStyleSheetResource(const ResourceRequest& resourceRequ |
: StyleSheetResource(resourceRequest, XSLStyleSheet, options, "text/xsl", charset) |
{ |
ASSERT(RuntimeEnabledFeatures::xsltEnabled()); |
- DEFINE_STATIC_LOCAL(const AtomicString, acceptXSLT, ("text/xml, application/xml, application/xhtml+xml, text/xsl, application/rss+xml, application/atom+xml", AtomicString::ConstructFromLiteral)); |
- |
- // It's XML we want. |
- // FIXME: This should accept more general xml formats */*+xml, image/svg+xml for example. |
- setAccept(acceptXSLT); |
} |
void XSLStyleSheetResource::didAddClient(ResourceClient* c) |