Index: chrome/browser/net/spdyproxy/data_reduction_proxy_infobar_delegate.cc |
diff --git a/chrome/browser/net/spdyproxy/data_reduction_proxy_infobar_delegate.cc b/chrome/browser/net/spdyproxy/data_reduction_proxy_infobar_delegate.cc |
index f936e1c53aede344ed8bbf5b443b5c65b19ad642..beae67f65e81b505e325abaa092d5a0a31c3bb54 100644 |
--- a/chrome/browser/net/spdyproxy/data_reduction_proxy_infobar_delegate.cc |
+++ b/chrome/browser/net/spdyproxy/data_reduction_proxy_infobar_delegate.cc |
@@ -28,8 +28,7 @@ void DataReductionProxyInfoBarDelegate::Create( |
// static |
scoped_ptr<infobars::InfoBar> DataReductionProxyInfoBarDelegate::CreateInfoBar( |
scoped_ptr<DataReductionProxyInfoBarDelegate> delegate) { |
- return ConfirmInfoBarDelegate::CreateInfoBar( |
- delegate.PassAs<ConfirmInfoBarDelegate>()); |
+ return ConfirmInfoBarDelegate::CreateInfoBar(delegate.Pass()); |
} |
#endif |