Bug 1299545 - stop exporting imgLoader::SupportImageWithMimeType, r=tnikkel
authorBenjamin Smedberg <benjamin@smedbergs.us>
Tue, 30 Aug 2016 13:28:16 -0400
changeset 312348 74cc0bbb8928ee39dc9a99202eee91afa7ede8a5
parent 312347 eb8541ab49c447041c2444b13d6d9afa4c1fdc64
child 312349 58b07057fe252182816957e68fa23267d43dcadd
push id20447
push userkwierso@gmail.com
push dateFri, 02 Sep 2016 20:36:44 +0000
treeherderfx-team@969397f22187 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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();