| Index: content/renderer/presentation/presentation_dispatcher.cc
|
| diff --git a/content/renderer/presentation/presentation_dispatcher.cc b/content/renderer/presentation/presentation_dispatcher.cc
|
| index b3bbbfd5ca7764ab40d04dabd0801ccb4a10a6ed..6536f86324abeba58202e4a890e8b2da718e0806 100644
|
| --- a/content/renderer/presentation/presentation_dispatcher.cc
|
| +++ b/content/renderer/presentation/presentation_dispatcher.cc
|
| @@ -9,6 +9,7 @@
|
| #include <vector>
|
|
|
| #include "base/logging.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "content/common/presentation/presentation_service.mojom.h"
|
| #include "content/public/common/presentation_constants.h"
|
| #include "content/public/common/service_registry.h"
|
| @@ -383,7 +384,7 @@ void PresentationDispatcher::OnSessionCreated(
|
|
|
| DCHECK(!session_info.is_null());
|
| presentation_service_->ListenForSessionMessages(session_info.Clone());
|
| - callback->onSuccess(blink::adoptWebPtr(
|
| + callback->onSuccess(base::WrapUnique(
|
| new PresentationConnectionClient(std::move(session_info))));
|
| }
|
|
|
|
|