Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / android / infobars / data_reduction_proxy_infobar.cc
index 238f0a9..4389c92 100644 (file)
@@ -31,8 +31,7 @@ bool DataReductionProxyInfoBar::Register(JNIEnv* env) {
 
 DataReductionProxyInfoBar::DataReductionProxyInfoBar(
     scoped_ptr<DataReductionProxyInfoBarDelegate> delegate)
-    : ConfirmInfoBar(delegate.PassAs<ConfirmInfoBarDelegate>()),
-      java_data_reduction_proxy_delegate_() {
+    : ConfirmInfoBar(delegate.Pass()), java_data_reduction_proxy_delegate_() {
 }
 
 DataReductionProxyInfoBar::~DataReductionProxyInfoBar() {