mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-23 15:47:30 +09:00
[PALEMOON] use nsresult instead of NS_METHOD in nsFeedSniffer
This commit is contained in:
parent
fda68c9bfe
commit
0a2d226e8d
2 changed files with 9 additions and 9 deletions
|
|
@ -331,7 +331,7 @@ nsFeedSniffer::OnStartRequest(nsIRequest* request, nsISupports* context)
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_METHOD
|
nsresult
|
||||||
nsFeedSniffer::AppendSegmentToString(nsIInputStream* inputStream,
|
nsFeedSniffer::AppendSegmentToString(nsIInputStream* inputStream,
|
||||||
void* closure,
|
void* closure,
|
||||||
const char* rawSegment,
|
const char* rawSegment,
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
#include "mozilla/Attributes.h"
|
#include "mozilla/Attributes.h"
|
||||||
|
|
||||||
class nsFeedSniffer final : public nsIContentSniffer,
|
class nsFeedSniffer final : public nsIContentSniffer,
|
||||||
nsIStreamListener
|
nsIStreamListener
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_ISUPPORTS
|
NS_DECL_ISUPPORTS
|
||||||
|
|
@ -18,12 +18,12 @@ public:
|
||||||
NS_DECL_NSIREQUESTOBSERVER
|
NS_DECL_NSIREQUESTOBSERVER
|
||||||
NS_DECL_NSISTREAMLISTENER
|
NS_DECL_NSISTREAMLISTENER
|
||||||
|
|
||||||
static NS_METHOD AppendSegmentToString(nsIInputStream* inputStream,
|
static nsresult AppendSegmentToString(nsIInputStream* inputStream,
|
||||||
void* closure,
|
void* closure,
|
||||||
const char* rawSegment,
|
const char* rawSegment,
|
||||||
uint32_t toOffset,
|
uint32_t toOffset,
|
||||||
uint32_t count,
|
uint32_t count,
|
||||||
uint32_t* writeCount);
|
uint32_t* writeCount);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
~nsFeedSniffer() {}
|
~nsFeedSniffer() {}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue