DescriptionFlash: Don't lose references to the Graphics3D from the VideoDecoder.
When the Flash VideoDecoder is destroyed, it needs to drop the reference
it holds on the Graphics3D object.
Currently, the Destroy() method erases the id for the Graphics3D object
before trying to drop its reference, making the drop a no-op and leaking
the reference.
Also, if the PPB_VideoDecoder_Impl object fails to initialize and create
a platform_video_decoder_, it still holds onto its reference to the
Graphics3D since it does not call Destroy() even though it called
InitCommon() on the PPB_VideoDecoder_Shared base class.
Lastly, when the plugin proxy's VideoDecoder class is destroyed, it
should ensure that the base class' Destroy() has been called so that
its reference is not leaked.
BUG=chrome-os-partner:18331
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=191176
Patch Set 1 : #
Total comments: 4
Patch Set 2 : #
Total comments: 5
Patch Set 3 : #Patch Set 4 : #
Total comments: 2
Patch Set 5 : #Patch Set 6 : #
Messages
Total messages: 16 (0 generated)
|