DescriptionEnsure HandleDocumentLoad isn't called if the instance is destroyed
This adds a check to PepperPluginInstanceImpl::DidDataFromWebURLResponse
to avoid calling the instances HandleDocumentLoad function if the plugin
instance is deleted before the function gets called.
It also adds a check to PepperURLLoaderHost::Close to avoid trying to access
an instance that has already been destroyed. A TODO is also added because
the behavior of PepperURLLoaderHost::Close is incorrect.
BUG=384197, 372548
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277373
Patch Set 1 #
Created: 6 years, 6 months ago
Messages
Total messages: 5 (0 generated)
|