Rename wxWebRequestWinHTTP::m_sessionWinHTTP to m_sessionImpl

No real changes, just use the same name as in the other backends for
consistency (we could also rename m_sessionImpl in the other ones to
m_sessionCURL and m_sessionURLSession respectively, but this would have
been more work and the latter name is really not great).
This commit is contained in:
Vadim Zeitlin
2021-01-15 23:48:01 +01:00
parent 60d429047e
commit 7677552087
2 changed files with 5 additions and 5 deletions

View File

@@ -67,7 +67,7 @@ class wxWebRequestWinHTTP : public wxWebRequestImpl
{
public:
wxWebRequestWinHTTP(wxWebSession& session,
wxWebSessionWinHTTP& sessionWinHTTP,
wxWebSessionWinHTTP& sessionImpl,
wxEvtHandler* handler,
const wxString& url,
int id);
@@ -94,7 +94,7 @@ public:
HINTERNET GetHandle() const { return m_request; }
private:
wxWebSessionWinHTTP& m_sessionWinHTTP;
wxWebSessionWinHTTP& m_sessionImpl;
wxString m_url;
HINTERNET m_connect;
HINTERNET m_request;

View File

@@ -123,12 +123,12 @@ static void CALLBACK wxRequestStatusCallback(
//
wxWebRequestWinHTTP::wxWebRequestWinHTTP(wxWebSession& session,
wxWebSessionWinHTTP& sessionWinHTTP,
wxWebSessionWinHTTP& sessionImpl,
wxEvtHandler* handler,
const wxString& url,
int id):
wxWebRequestImpl(session, handler, id),
m_sessionWinHTTP(sessionWinHTTP),
m_sessionImpl(sessionImpl),
m_url(url),
m_connect(NULL),
m_request(NULL),
@@ -305,7 +305,7 @@ void wxWebRequestWinHTTP::Start()
// Open a connection
m_connect = ::WinHttpConnect
(
m_sessionWinHTTP.GetHandle(),
m_sessionImpl.GetHandle(),
wxString(urlComps.lpszHostName, urlComps.dwHostNameLength).wc_str(),
urlComps.nPort,
wxRESERVED_PARAM