Index: chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc |
diff --git a/chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc b/chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc |
index 4c30d0c9c9b88b9cb65bdf0a47c270d73060e613..9fa4cd8767d95bed95008df36cceded5735eb6fa 100644 |
--- a/chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc |
+++ b/chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc |
@@ -97,7 +97,7 @@ bool RegisterProtocolHandlerInfoBarDelegate::LinkClicked( |
(disposition == CURRENT_TAB) ? NEW_FOREGROUND_TAB : disposition, |
content::PAGE_TRANSITION_LINK, |
false); |
- owner()->web_contents()->OpenURL(params); |
+ owner()->GetWebContents()->OpenURL(params); |
return false; |
} |