mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 15:28:39 +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
|
|
@ -135,7 +135,7 @@ FindChar(char c, const char *begin, const char *end)
|
|||
* it's possible that someone embedded one of these tags inside a document of
|
||||
* another type, e.g. a HTML document, and we don't want to show the preview
|
||||
* page if the document isn't actually a feed.
|
||||
*
|
||||
*
|
||||
* @param start
|
||||
* The beginning of the data being sniffed
|
||||
* @param end
|
||||
|
|
@ -331,7 +331,7 @@ nsFeedSniffer::OnStartRequest(nsIRequest* request, nsISupports* context)
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_METHOD
|
||||
nsresult
|
||||
nsFeedSniffer::AppendSegmentToString(nsIInputStream* inputStream,
|
||||
void* closure,
|
||||
const char* rawSegment,
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
#include "mozilla/Attributes.h"
|
||||
|
||||
class nsFeedSniffer final : public nsIContentSniffer,
|
||||
nsIStreamListener
|
||||
nsIStreamListener
|
||||
{
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
|
|
@ -18,12 +18,12 @@ public:
|
|||
NS_DECL_NSIREQUESTOBSERVER
|
||||
NS_DECL_NSISTREAMLISTENER
|
||||
|
||||
static NS_METHOD AppendSegmentToString(nsIInputStream* inputStream,
|
||||
void* closure,
|
||||
const char* rawSegment,
|
||||
uint32_t toOffset,
|
||||
uint32_t count,
|
||||
uint32_t* writeCount);
|
||||
static nsresult AppendSegmentToString(nsIInputStream* inputStream,
|
||||
void* closure,
|
||||
const char* rawSegment,
|
||||
uint32_t toOffset,
|
||||
uint32_t count,
|
||||
uint32_t* writeCount);
|
||||
|
||||
protected:
|
||||
~nsFeedSniffer() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue