Index: chrome/browser/guest_view/web_view/javascript_dialog_helper.cc |
diff --git a/chrome/browser/guest_view/web_view/javascript_dialog_helper.cc b/chrome/browser/guest_view/web_view/javascript_dialog_helper.cc |
index 2c198e5c70e900fe1bfa1813446738324aba7453..4209c3bdcce2982a92f1ac166e15dec9bfc2b1b9 100644 |
--- a/chrome/browser/guest_view/web_view/javascript_dialog_helper.cc |
+++ b/chrome/browser/guest_view/web_view/javascript_dialog_helper.cc |
@@ -61,8 +61,7 @@ void JavaScriptDialogHelper::RunJavaScriptDialog( |
guestview::kUrl, |
base::Value::CreateStringValue(origin_url.spec())); |
webview_guest_->RequestPermission( |
- static_cast<BrowserPluginPermissionType>( |
- WEB_VIEW_PERMISSION_TYPE_JAVASCRIPT_DIALOG), |
+ WEB_VIEW_PERMISSION_TYPE_JAVASCRIPT_DIALOG, |
request_info, |
base::Bind(&JavaScriptDialogHelper::OnPermissionResponse, |
base::Unretained(this), |