wsd: use client_from_this
Change-Id: I45bcb010ec6f1d091c04d2a8b2f49a6da57f8e4e Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
This commit is contained in:
parent
7a74227164
commit
46f9e8de29
1 changed files with 1 additions and 3 deletions
|
@ -1872,9 +1872,7 @@ bool ClientSession::handleKitToClientMessage(const std::shared_ptr<Message>& pay
|
|||
|
||||
if (UnitWSD::isUnitTesting())
|
||||
{
|
||||
UnitWSD::get().onDocBrokerViewLoaded(
|
||||
docBroker->getDocKey(),
|
||||
std::dynamic_pointer_cast<ClientSession>(shared_from_this()));
|
||||
UnitWSD::get().onDocBrokerViewLoaded(docBroker->getDocKey(), client_from_this());
|
||||
}
|
||||
|
||||
#if !MOBILEAPP
|
||||
|
|
Loading…
Reference in a new issue