DescriptionNaCl: Merge three global PP_Instance mappings into one
components/nacl/renderer/ had three mappings from PP_Instance IDs:
* mapping to NexeLoadManager
* mapping to JsonManifest
* mapping to InstanceInfo
Merging these into one will make it easier to add more per-PP_Instance
state in the future.
This also makes the lifetime of the objects mapped from PP_Instances
clearer. This should fix a leak of InstanceInfo if untrusted code
never calls the StartPpapiProxy IPC (though the IPC::ChannelHandle in
it will still leak since this isn't owned).
BUG=428030
TEST=NaCl tests in browser_tests
Committed: https://crrev.com/9f45f6309ae6cbeaf1b08844f32c4579df3acf18
Cr-Commit-Position: refs/heads/master@{#312540}
Patch Set 1 #Patch Set 2 : Fix + cleanup #Patch Set 3 : Reinstate fix #Patch Set 4 : Rebase #Patch Set 5 : Rebase properly #
Messages
Total messages: 7 (2 generated)
|