Bug 1352567 - Remove plugin IPC code to support stream types other than NP_NORMAL (seekable and/or file streams), r=jimm
MozReview-Commit-ID: FWl2gcpKy6D
This commit is contained in:
committed by
Kyle Machulis
parent
f8a6de13b2
commit
a65df5cd2e
@@ -1045,13 +1045,7 @@ NPError
|
||||
_requestread(NPStream* aStream,
|
||||
NPByteRange* aRangeList)
|
||||
{
|
||||
PLUGIN_LOG_DEBUG_FUNCTION;
|
||||
ENSURE_PLUGIN_THREAD(NPERR_INVALID_PARAM);
|
||||
|
||||
BrowserStreamChild* bs =
|
||||
static_cast<BrowserStreamChild*>(static_cast<AStream*>(aStream->ndata));
|
||||
bs->EnsureCorrectStream(aStream);
|
||||
return bs->NPN_RequestRead(aRangeList);
|
||||
return NPERR_STREAM_NOT_SEEKABLE;
|
||||
}
|
||||
|
||||
NPError
|
||||
|
||||
Reference in New Issue
Block a user