| Index: ios/web/interstitials/html_web_interstitial_impl.mm
|
| diff --git a/ios/web/interstitials/html_web_interstitial_impl.mm b/ios/web/interstitials/html_web_interstitial_impl.mm
|
| index 98439fe5b4c180da2508e5f6adc84fd640f679c2..f7f3f4f4d6617bdf0397d603ca5d8c8ba4a664b5 100644
|
| --- a/ios/web/interstitials/html_web_interstitial_impl.mm
|
| +++ b/ios/web/interstitials/html_web_interstitial_impl.mm
|
| @@ -4,6 +4,8 @@
|
|
|
| #import "ios/web/interstitials/html_web_interstitial_impl.h"
|
|
|
| +#include <utility>
|
| +
|
| #include "base/logging.h"
|
| #include "base/strings/sys_string_conversions.h"
|
| #include "ios/web/interstitials/web_interstitial_facade_delegate.h"
|
| @@ -67,7 +69,7 @@ WebInterstitial* WebInterstitial::CreateHtmlInterstitial(
|
| scoped_ptr<HtmlWebInterstitialDelegate> delegate) {
|
| WebStateImpl* web_state_impl = static_cast<WebStateImpl*>(web_state);
|
| return new HtmlWebInterstitialImpl(web_state_impl, new_navigation, url,
|
| - delegate.Pass());
|
| + std::move(delegate));
|
| }
|
|
|
| HtmlWebInterstitialImpl::HtmlWebInterstitialImpl(
|
| @@ -76,7 +78,7 @@ HtmlWebInterstitialImpl::HtmlWebInterstitialImpl(
|
| const GURL& url,
|
| scoped_ptr<HtmlWebInterstitialDelegate> delegate)
|
| : WebInterstitialImpl(web_state, new_navigation, url),
|
| - delegate_(delegate.Pass()) {
|
| + delegate_(std::move(delegate)) {
|
| DCHECK(delegate_);
|
| }
|
|
|
|
|