summaryrefslogtreecommitdiffstats
path: root/netwerk/protocol/data/nsDataHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/protocol/data/nsDataHandler.h')
-rw-r--r--netwerk/protocol/data/nsDataHandler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/netwerk/protocol/data/nsDataHandler.h b/netwerk/protocol/data/nsDataHandler.h
index 4796f0f453..499e73b220 100644
--- a/netwerk/protocol/data/nsDataHandler.h
+++ b/netwerk/protocol/data/nsDataHandler.h
@@ -6,6 +6,7 @@
#ifndef nsDataHandler_h___
#define nsDataHandler_h___
+#include "mozilla/dom/MimeType.h"
#include "nsIProtocolHandler.h"
#include "nsWeakReference.h"
@@ -50,7 +51,7 @@ class nsDataHandler : public nsIProtocolHandler,
[[nodiscard]] static nsresult ParsePathWithoutRef(
const nsACString& aPath, nsCString& aContentType,
nsCString* aContentCharset, bool& aIsBase64,
- nsDependentCSubstring* aDataBuffer, nsCString* aMimeType = nullptr);
+ nsDependentCSubstring* aDataBuffer, RefPtr<CMimeType>* = nullptr);
};
#endif /* nsDataHandler_h___ */