Bug 1299545 - stop exporting imgLoader::SupportImageWithMimeType, r=tnikkel
authorBenjamin Smedberg <benjamin@smedbergs.us>
Tue, 30 Aug 2016 13:28:16 -0400
changeset 312310 74cc0bbb8928ee39dc9a99202eee91afa7ede8a5
parent 312309 eb8541ab49c447041c2444b13d6d9afa4c1fdc64
child 312311 58b07057fe252182816957e68fa23267d43dcadd
push id81329
push userbsmedberg@mozilla.com
push dateThu, 01 Sep 2016 19:54:43 +0000
treeherdermozilla-inbound@58b07057fe25 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstnikkel
bugs1299545
milestone51.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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();