Core - ClientAdapter::OnAfterCreated pass in the newly created wrapper directly

Minor code cleanup
This commit is contained in:
amaitland
2020-02-11 11:54:52 +10:00
parent 37a6b88dfc
commit ce698480e3
+1 -3
View File
@@ -190,9 +190,7 @@ namespace CefSharp
if (handler != nullptr)
{
auto innerBrowserWrapper = GetBrowserWrapper(browser->GetIdentifier(), isPopup);
handler->OnAfterCreated(_browserControl, innerBrowserWrapper);
handler->OnAfterCreated(_browserControl, browserWrapper);
}
}