Skip to content
Commit fa8ab02e authored by Nicolai Hähnle's avatar Nicolai Hähnle
Browse files

sublime: prevent accidentally adding nullptrs to ContainerPrivate::viewForWidget

The likely culprit here is using operator[] to access a map, which implicitly
creates an entry containing a null view. I have audited all other accesses of
viewForWidget with operator[] to verify that they happen in a context where
the entry is non-null (either because the access is used to assign a non-null
view pointer or because the access is guaranteed to crash or abort immediately
if it would create an incorrect nullptr entry).

BUG: 342037
REVIEW: 121600
parent 7b8b82be
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment