DescriptionDelay creation of BrowserPluginMsg_X messages until after attach.
Currently, if BrowserPluginGuest receives messages for a BrowserPlugin
prior to attachment, the message may be created with an invalid (0)
value of |browser_plugin_instance_id|. After attachment, when queued
messages are sent, these messages disappear into the ether.
This cl delays the actual message creation until after the correct
value for |browser_plugin_instance_id| is known through use of lambda
functionals.
This cl only implements this for BrowserPluginMsg_SetContentsOpaque,
with the expectation that all other BrowserPluginMsg_X types will be
converted to this methodology in a subsequent CL.
BUG=534839
Patch Set 1 #
Total comments: 4
Depends on Patchset: Messages
Total messages: 13 (4 generated)
|