Chromium Code Reviews
Descriptionozone: Don't take a self reference in surfaceless adapter dtor
It's not valid to take a scoped_refptr to yourself inside your destructor
because this in a illegal 0-1 refcount transition. This is causing our
demo app to crash.
Fix it by not taking a reference to the current surface if the current
surface is |this|.
Committed: https://crrev.com/85db89760dc91139d87886ef9ca0d94010811085
Cr-Commit-Position: refs/heads/master@{#385280}
Patch Set 1 #Patch Set 2 : be extra paranoid about IsCurrent() #Messages
Total messages: 9 (4 generated)
|