DescriptionEnforce context refrence guards in WebGL extensions.
It appears that in some cases if an extension object outlives the context it was
created with that context could be GCed out from under it mid-function. This new
pattern enforces a scoped ref count of the associated canvas any time the
context is used by an extension.
BUG=429478
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185069
Patch Set 1 #
Total comments: 2
Patch Set 2 : Switched to using RefPtr #
Messages
Total messages: 8 (2 generated)
|