Bug 794884 Followup to export SupportImageWithMimeType from libxul for mimei.cpp r=joe

This commit is contained in:
Neil Rashbrook 2012-10-07 19:01:08 +01:00
parent ffe0caad18
commit 0c86b78e7a
2 changed files with 3 additions and 2 deletions

View File

@ -226,7 +226,8 @@ public:
nsresult Init();
static nsresult GetMimeTypeFromContent(const char* aContents, uint32_t aLength, nsACString& aContentType);
static bool SupportImageWithMimeType(const char* aMimeType);
// exported for use by mimei.cpp in libxul sdk builds
static NS_EXPORT_(bool) SupportImageWithMimeType(const char* aMimeType);
static void GlobalInit(); // for use by the factory
static void Shutdown(); // for use by the factory

View File

@ -21,7 +21,7 @@
#include "nsCategoryCache.h"
#include "nsCOMPtr.h"
#include "nsString.h"
#include "nsStringGlue.h"
#include "nsTObserverArray.h"
#include "nsWeakReference.h"
#include "nsError.h"