Changeset 148028 in webkit


Ignore:
Timestamp:
Apr 9, 2013 9:52:36 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Add webp to supported image mime types if WEBP feature is enabled/used
https://bugs.webkit.org/show_bug.cgi?id=112819

Patch by Jeff Rogers <jrogers@rim.com> on 2013-04-09
Reviewed by Darin Adler.

Add WebP to list of supported image types in MIMETypeRegistry if enabled.

No new tests: WebP image decoding already covered by exisiting tests.

  • platform/MIMETypeRegistry.cpp:

(WebCore::initializeSupportedImageMIMETypes):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r148027 r148028  
     12013-04-09  Jeff Rogers  <jrogers@rim.com>
     2
     3        Add webp to supported image mime types if WEBP feature is enabled/used
     4        https://bugs.webkit.org/show_bug.cgi?id=112819
     5
     6        Reviewed by Darin Adler.
     7
     8        Add WebP to list of supported image types in MIMETypeRegistry if enabled.
     9
     10        No new tests: WebP image decoding already covered by exisiting tests.
     11
     12        * platform/MIMETypeRegistry.cpp:
     13        (WebCore::initializeSupportedImageMIMETypes):
     14
    1152013-04-09  Arnaud Renevier  <a.renevier@sisa.samsung.com>
    216
  • trunk/Source/WebCore/platform/MIMETypeRegistry.cpp

    r145066 r148028  
    244244        supportedImageResourceMIMETypes->add(types[i]);
    245245    }
     246
     247#if USE(WEBP)
     248    supportedImageMIMETypes->add("image/webp");
     249    supportedImageResourceMIMETypes->add("image/webp");
     250#endif
    246251
    247252#if PLATFORM(QT)
Note: See TracChangeset for help on using the changeset viewer.