We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe53146 commit 3f280efCopy full SHA for 3f280ef
CefSharp.Wpf/WebView.cpp
@@ -786,12 +786,12 @@ namespace CefSharp
786
787
void WebView::SetPopupSizeAndPosition(const void* rect)
788
{
789
- auto cefRect = (const CefRect&) rect;
790
-
791
- _popupX = cefRect.x;
792
- _popupY = cefRect.y;
793
- _popupWidth = cefRect.width;
794
- _popupHeight = cefRect.height;
+ auto cefRect = (const CefRect*) rect;
+
+ _popupX = cefRect->x;
+ _popupY = cefRect->y;
+ _popupWidth = cefRect->width;
+ _popupHeight = cefRect->height;
795
796
if(!Dispatcher->HasShutdownStarted) {
797
Dispatcher->BeginInvoke(DispatcherPriority::Render, _resizePopupDelegate);
0 commit comments