Skip to content

Commit 3f280ef

Browse files
committed
fixes #162
1 parent fe53146 commit 3f280ef

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

CefSharp.Wpf/WebView.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -786,12 +786,12 @@ namespace CefSharp
786786

787787
void WebView::SetPopupSizeAndPosition(const void* rect)
788788
{
789-
auto cefRect = (const CefRect&) rect;
790-
791-
_popupX = cefRect.x;
792-
_popupY = cefRect.y;
793-
_popupWidth = cefRect.width;
794-
_popupHeight = cefRect.height;
789+
auto cefRect = (const CefRect*) rect;
790+
791+
_popupX = cefRect->x;
792+
_popupY = cefRect->y;
793+
_popupWidth = cefRect->width;
794+
_popupHeight = cefRect->height;
795795

796796
if(!Dispatcher->HasShutdownStarted) {
797797
Dispatcher->BeginInvoke(DispatcherPriority::Render, _resizePopupDelegate);

0 commit comments

Comments
 (0)