diff options
Diffstat (limited to 'embed/mozilla/EphyHeaderSniffer.h')
-rw-r--r-- | embed/mozilla/EphyHeaderSniffer.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/embed/mozilla/EphyHeaderSniffer.h b/embed/mozilla/EphyHeaderSniffer.h index 5cef29168..4aa7d1fa8 100644 --- a/embed/mozilla/EphyHeaderSniffer.h +++ b/embed/mozilla/EphyHeaderSniffer.h @@ -49,10 +49,7 @@ #include <nsIDOMDocument.h> #include <nsIAuthPrompt.h> #include <nsIPromptService.h> - -#ifdef ALLOW_PRIVATE_STRINGS -#include <nsString.h> -#endif +#include <nsEmbedString.h> class EphyHeaderSniffer : public nsIWebProgressListener, public nsIAuthPrompt @@ -81,8 +78,8 @@ private: nsCOMPtr<nsIURI> mOriginalURI; nsCOMPtr<nsIDOMDocument> mDocument; nsCOMPtr<nsIInputStream> mPostData; - nsCString mContentType; - nsCString mContentDisposition; + nsEmbedCString mContentType; + nsEmbedCString mContentDisposition; nsCOMPtr<nsIAuthPrompt> mAuthPrompt; }; |