diff options
Diffstat (limited to 'Source/WebCore/platform/MIMETypeRegistry.cpp')
-rw-r--r-- | Source/WebCore/platform/MIMETypeRegistry.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/WebCore/platform/MIMETypeRegistry.cpp b/Source/WebCore/platform/MIMETypeRegistry.cpp index f824e605b..8087dc984 100644 --- a/Source/WebCore/platform/MIMETypeRegistry.cpp +++ b/Source/WebCore/platform/MIMETypeRegistry.cpp @@ -254,6 +254,9 @@ static void initializeSupportedImageMIMETypes() // Do not treat SVG as images directly because WebKit can handle them. supportedImageMIMETypes->remove("image/svg+xml"); supportedImageResourceMIMETypes->remove("image/svg+xml"); + // Do not treat PDF as images + supportedImageMIMETypes->remove("application/pdf"); + supportedImageResourceMIMETypes->remove("application/pdf"); #endif // PLATFORM(QT) #endif // USE(CG) } |