| Index: content/browser/presentation/presentation_service_impl.cc
|
| diff --git a/content/browser/presentation/presentation_service_impl.cc b/content/browser/presentation/presentation_service_impl.cc
|
| index f6527896aa2837af9ebbcf4ba91a26cfa0607cac..f3870970f70712e3ba73eefc00d2362524f9005c 100644
|
| --- a/content/browser/presentation/presentation_service_impl.cc
|
| +++ b/content/browser/presentation/presentation_service_impl.cc
|
| @@ -405,11 +405,11 @@ void PresentationServiceImpl::SendSessionMessage(
|
| weak_factory_.GetWeakPtr()));
|
| }
|
|
|
| -void PresentationServiceImpl::OnSendMessageCallback() {
|
| +void PresentationServiceImpl::OnSendMessageCallback(bool sent) {
|
| // It is possible that Reset() is invoked before receiving this callback.
|
| // So, always check send_message_callback_ for non-null.
|
| if (send_message_callback_) {
|
| - send_message_callback_->Run(true);
|
| + send_message_callback_->Run(sent);
|
| send_message_callback_.reset();
|
| }
|
| }
|
|
|