Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / net / spdyproxy / data_reduction_proxy_infobar_delegate.cc
index f936e1c..beae67f 100644 (file)
@@ -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