Open Bug 1246260 Opened 10 years ago Updated 4 years ago

Make it clear when mTransactionIdAllocator can be null and when it cannot

Categories

(Core :: Graphics: Layers, defect, P3)

defect

Tracking

()

People

(Reporter: jrmuizel, Unassigned, NeedInfo)

Details

(Whiteboard: [gfx-noted])

We sometimes check if mTransactionIdAllocator is null and sometimes don't. It would be nice to document the situations when it's null and when it's not.
Flags: needinfo?(matt.woodrow)
Ping
All ClientLayerManagers that have participated in a layers transaction should have an allocator assigned. The code that returns during a transaction (ForwardTransaction), or in response to one (DidComposite) use it unconditionally. Code outside of this (the destructor) uses a null check.
Flags: needinfo?(matt.woodrow)
Flags: needinfo?(jmuizelaar)
Whiteboard: [gfx-noted]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.