Index: chrome/browser/guest_view/web_view/plugin_permission_helper.cc |
diff --git a/chrome/browser/guest_view/web_view/plugin_permission_helper.cc b/chrome/browser/guest_view/web_view/plugin_permission_helper.cc |
index 1ff179e1cb5ee1afafc1b93d7fba90745258fba2..bb9441b0dc363af67f0791f68f867770b1000738 100644 |
--- a/chrome/browser/guest_view/web_view/plugin_permission_helper.cc |
+++ b/chrome/browser/guest_view/web_view/plugin_permission_helper.cc |
@@ -73,8 +73,8 @@ void PluginPermissionHelper::OnBlockedUnauthorizedPlugin( |
base::DictionaryValue info; |
info.SetString(std::string(kPluginName), name); |
info.SetString(std::string(kPluginIdentifier), identifier); |
- webview->RequestPermission(static_cast<BrowserPluginPermissionType>( |
- WEB_VIEW_PERMISSION_TYPE_LOAD_PLUGIN), |
+ webview->RequestPermission( |
+ WEB_VIEW_PERMISSION_TYPE_LOAD_PLUGIN, |
info, |
base::Bind(&PluginPermissionHelper::OnPermissionResponse, |
weak_factory_.GetWeakPtr(), |