mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 1123004 - Mark ReadSegmentsState as stack class, and its mThisStream member as nsCOMPtr; r=froydnj
This commit is contained in:
parent
1159fbcef9
commit
6c67942f1f
@ -45,8 +45,8 @@ private:
|
||||
|
||||
void InitStreams();
|
||||
|
||||
struct ReadSegmentsState {
|
||||
nsIInputStream* mThisStream;
|
||||
struct MOZ_STACK_CLASS ReadSegmentsState {
|
||||
nsCOMPtr<nsIInputStream> mThisStream;
|
||||
nsWriteSegmentFun mWriter;
|
||||
void* mClosure;
|
||||
};
|
||||
|
@ -46,9 +46,9 @@ private:
|
||||
{
|
||||
}
|
||||
|
||||
struct ReadSegmentsState
|
||||
struct MOZ_STACK_CLASS ReadSegmentsState
|
||||
{
|
||||
nsIInputStream* mThisStream;
|
||||
nsCOMPtr<nsIInputStream> mThisStream;
|
||||
uint32_t mOffset;
|
||||
nsWriteSegmentFun mWriter;
|
||||
void* mClosure;
|
||||
|
Loading…
Reference in New Issue
Block a user