This is a fix for crash bug crbug:783189
initialize PluginInfoPtrs. The crash happens when chrome::mojom::GetPluginInfo fails in sync mode. Then the output PluginInfoPtr is left null. We instead default initialize it with PluginInfo::New() as this is what the subsequent code expects. Bug: 783189 Change-Id: I51e25b127858b8ede79f6762f0f5e870166254d1 Reviewed-on: https://chromium-review.googlesource.com/762848Reviewed-by:John Abd-El-Malek <jam@chromium.org> Reviewed-by:
Yuzhu Shen <yzshen@chromium.org> Reviewed-by:
Sam McNally <sammc@chromium.org> Commit-Queue: Nicholas Verne <nverne@chromium.org> Cr-Commit-Position: refs/heads/master@{#515873}
Showing
Please register or sign in to comment