Index: third_party/WebKit/Source/core/dom/DOMImplementation.cpp |
diff --git a/third_party/WebKit/Source/core/dom/DOMImplementation.cpp b/third_party/WebKit/Source/core/dom/DOMImplementation.cpp |
index d7e98ed3c5e027e02fb31936f4c5184dc8497d62..842185f1a4a92c8355428c7bf7e9f28eec7c54ba 100644 |
--- a/third_party/WebKit/Source/core/dom/DOMImplementation.cpp |
+++ b/third_party/WebKit/Source/core/dom/DOMImplementation.cpp |
@@ -234,7 +234,8 @@ PassRefPtrWillBeRawPtr<Document> DOMImplementation::createDocument(const String& |
// We do not want QuickTime to take over all image types, obviously. |
if ((type == "application/pdf" || type == "text/pdf") && pluginData && pluginData->supportsMimeType(type)) |
return PluginDocument::create(init); |
- if (Image::supportsType(type)) |
+ // multipart/x-mixed-replace is only supported for images. |
+ if (Image::supportsType(type) || type == "multipart/x-mixed-replace") |
return ImageDocument::create(init); |
// Check to see if the type can be played by our media player, if so create a MediaDocument |