forked from mirrors/gecko-dev
Bug 1800397: Remove dead code from nsSegmentedBuffer::Init. r=xpcom-reviewers,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D161966
This commit is contained in:
parent
f5a61a896b
commit
8d586270bc
1 changed files with 0 additions and 4 deletions
|
|
@ -16,11 +16,7 @@ nsresult nsSegmentedBuffer::Init(uint32_t aSegmentSize, uint32_t aMaxSize) {
|
||||||
}
|
}
|
||||||
mSegmentSize = aSegmentSize;
|
mSegmentSize = aSegmentSize;
|
||||||
mMaxSize = aMaxSize;
|
mMaxSize = aMaxSize;
|
||||||
#if 0 // testing...
|
|
||||||
mSegmentArrayCount = 2;
|
|
||||||
#else
|
|
||||||
mSegmentArrayCount = NS_SEGMENTARRAY_INITIAL_COUNT;
|
mSegmentArrayCount = NS_SEGMENTARRAY_INITIAL_COUNT;
|
||||||
#endif
|
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue