Commit 2a6daf31 authored by Nicholas Verne's avatar Nicholas Verne Committed by Commit Bot

Fix Crash in IsInternalPluginAvailableForMimeType

by removing incorrect vector sizing

Bug: 784517
Change-Id: I12d2cd40e4aec712827b02346270c36bc4711797
Reviewed-on: default avatarSam McNally <>
Commit-Queue: Nicholas Verne <>
Cr-Commit-Position: refs/heads/master@{#516122}
parent 2465a549
......@@ -299,8 +299,7 @@ void PluginInfoHostImpl::IsInternalPluginAvailableForMimeType(
is_plugin_disabled = true;
std::vector<chrome::mojom::PluginParamPtr> params(
std::vector<chrome::mojom::PluginParamPtr> params;
for (const auto& p : mime_types[j].additional_params) {
params.emplace_back(chrome::mojom::PluginParam::New(, p.value));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment