mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1011355 (part 3) - Tiny FreeSpan tweaks. r=billm.
--HG-- extra : rebase_source : 739e5104bee8ea878d5c8e421d7cd6cfd095c2da
This commit is contained in:
parent
ea70beb0f9
commit
0032128ea4
@ -156,8 +156,6 @@ class FreeSpan
|
||||
uintptr_t last;
|
||||
|
||||
public:
|
||||
FreeSpan() {}
|
||||
|
||||
// This inits just |first| and |last|; if the span is non-empty it doesn't
|
||||
// do anything with the next span stored at |last|.
|
||||
void initBoundsUnchecked(uintptr_t first, uintptr_t last) {
|
||||
@ -236,6 +234,7 @@ class FreeSpan
|
||||
return false;
|
||||
}
|
||||
|
||||
private:
|
||||
// Some callers can pass in |thingSize| easily, and we can do stronger
|
||||
// checking in that case.
|
||||
void checkSpan(size_t thingSize = 0) const {
|
||||
|
Loading…
Reference in New Issue
Block a user