mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-06 04:00:07 +00:00
RenderClientAdapter: s/_offscreenBrowserControl/_renderBrowserControl/
This commit is contained in:
@@ -10,11 +10,11 @@ namespace CefSharp
|
||||
int width, height;
|
||||
browser->GetSize(type, width, height);
|
||||
|
||||
_offscreenBrowserControl->SetBuffer(width, height, buffer);
|
||||
_renderBrowserControl->SetBuffer(width, height, buffer);
|
||||
}
|
||||
|
||||
void RenderClientAdapter::OnCursorChange(CefRefPtr<CefBrowser> browser, CefCursorHandle cursor)
|
||||
{
|
||||
_offscreenBrowserControl->SetCursor(cursor);
|
||||
_renderBrowserControl->SetCursor(cursor);
|
||||
}
|
||||
}
|
||||
@@ -13,13 +13,13 @@ namespace CefSharp
|
||||
public CefRenderHandler
|
||||
{
|
||||
private:
|
||||
gcroot<IRenderWebBrowser^> _offscreenBrowserControl;
|
||||
gcroot<IRenderWebBrowser^> _renderBrowserControl;
|
||||
|
||||
public:
|
||||
~RenderClientAdapter() { _offscreenBrowserControl = nullptr; }
|
||||
~RenderClientAdapter() { _renderBrowserControl = nullptr; }
|
||||
RenderClientAdapter(IRenderWebBrowser^ offscreenBrowserControl) : ClientAdapter((IWebBrowser^)offscreenBrowserControl)
|
||||
{
|
||||
_offscreenBrowserControl = offscreenBrowserControl;
|
||||
_renderBrowserControl = offscreenBrowserControl;
|
||||
}
|
||||
|
||||
// CefClient
|
||||
|
||||
Reference in New Issue
Block a user