Closed
Bug 550548
Opened 14 years ago
Closed 14 years ago
Remove PRBool return-val for |nsCSSDeclaration::InitializeEmpty| (and always assume success)
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
People
(Reporter: dholbert, Unassigned)
References
Details
Now that 'new' is infallible on mozilla-central (bug 441324), we can assume... - nsCSSCompressedDataBlock::CreateEmptyBlock() always returns non-null - and hence, nsCSSDeclaration::InitializeEmpty() will always return true - and hence, nsCSSDeclaration::InitializeEmpty() no longer needs a return value. So, I'm filing this bug on making InitializeEmpty() return void. (as well as removing all the existing boilerplate code for checking its currently-PRBool return value)
Reporter | ||
Updated•14 years ago
|
OS: Linux → All
Hardware: x86 → All
Comment 1•14 years ago
|
||
This looks to have already been done as part 9 of bug 569719.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•