Index: third_party/WebKit/Source/modules/presentation/PresentationConnectionCallbacks.h |
diff --git a/third_party/WebKit/Source/modules/presentation/PresentationConnectionCallbacks.h b/third_party/WebKit/Source/modules/presentation/PresentationConnectionCallbacks.h |
index d460c995d0dbdb89aec4f0f1d64aa085a383a9b0..3da9ed109761d5861f1fc3ed7eb402cca3ec0501 100644 |
--- a/third_party/WebKit/Source/modules/presentation/PresentationConnectionCallbacks.h |
+++ b/third_party/WebKit/Source/modules/presentation/PresentationConnectionCallbacks.h |
@@ -21,12 +21,12 @@ struct WebPresentationError; |
// the PresentationRequest object that originated the call in its constructor |
// and will pass it to the created PresentationConnection. |
class PresentationConnectionCallbacks final |
- : public WebCallbacks<WebPassOwnPtr<WebPresentationConnectionClient>, const WebPresentationError&> { |
+ : public WebCallbacks<std::unique_ptr<WebPresentationConnectionClient>, const WebPresentationError&> { |
public: |
PresentationConnectionCallbacks(ScriptPromiseResolver*, PresentationRequest*); |
~PresentationConnectionCallbacks() override = default; |
- void onSuccess(WebPassOwnPtr<WebPresentationConnectionClient>) override; |
+ void onSuccess(std::unique_ptr<WebPresentationConnectionClient>) override; |
void onError(const WebPresentationError&) override; |
private: |