DescriptionMark wrappers of canvas rendering context objects as dependent.
When initially called, canvas.getContext() will return a fresh rendering
context object, but at the same time switch its "context mode" to a direct
one (2d or webgl), such that subsequent getContext() with the same
contextID argument will return that initially created context object.
To correctly provide that same-object identity, the wrapper object must be
marked as depending on the canvas element object, such that it will be
retained across GCs.
R=junov,haraken
BUG=450410
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=192465
Patch Set 1 #Patch Set 2 : update test expectation #
Total comments: 2
Messages
Total messages: 10 (2 generated)
|