Bug 1299545 - stop exporting imgLoader::SupportImageWithMimeType, r?tnikkel draft
authorBenjamin Smedberg <benjamin@smedbergs.us>
Tue, 30 Aug 2016 13:28:16 -0400
changeset 408095 3aac3121b8b8025056ed7d2068cb07525f4992c0
parent 408094 eec752971334e5b2d3e63715a363adbd32fc196d
child 530036 ef067a1f7f6cb2656655d64c83af978256b64404
push id28137
push userbsmedberg@mozilla.com
push dateWed, 31 Aug 2016 17:06:14 +0000
reviewerstnikkel
bugs1299545
milestone51.0a1
Bug 1299545 - stop exporting imgLoader::SupportImageWithMimeType, r?tnikkel MozReview-Commit-ID: CFmUXAGeFIO
image/imgLoader.h
--- a/image/imgLoader.h
+++ b/image/imgLoader.h
@@ -322,17 +322,17 @@ public:
    * moment only "image/svg+xml" falls into this category, but there may be more
    * in the future.) Callers which want this function to return true for such
    * MIME types should pass AcceptedMimeTypes::IMAGES_AND_DOCUMENTS for
    * @aAccept.
    *
    * @param aMimeType The MIME type to evaluate.
    * @param aAcceptedMimeTypes Which kinds of MIME types to treat as images.
    */
-  static NS_EXPORT_(bool)
+  static bool
   SupportImageWithMimeType(const char* aMimeType,
                            AcceptedMimeTypes aAccept =
                              AcceptedMimeTypes::IMAGES);
 
   static void GlobalInit(); // for use by the factory
   static void Shutdown(); // for use by the factory
 
   nsresult ClearChromeImageCache();