DescriptionThe WebPluginImpl::paint function can be invoked when the delegate_ member is NULL. This scenario
can happen if a plugin is reinitialized, in which case the plugin instance is torn down and a new one
is initialized. If the second initialization fails, we have a plugin instance in the renderer which has
a NULL delegate_.
Fix is to add a NULL check for the delegate in the paint function.
Fixes http://code.google.com/p/chromium/issues/detail?id=22196
Bug=22196
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=26552
Patch Set 1 #Patch Set 2 : '' #Patch Set 3 : '' #Messages
Total messages: 5 (0 generated)
|