Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixes #162

  • Loading branch information...
commit 3f280efebe022c42a4db924482ac7521244b78b8 1 parent fe53146
@ChadyG ChadyG authored
Showing with 6 additions and 6 deletions.
  1. +6 −6 CefSharp.Wpf/WebView.cpp
View
12 CefSharp.Wpf/WebView.cpp
@@ -786,12 +786,12 @@ namespace CefSharp
void WebView::SetPopupSizeAndPosition(const void* rect)
{
- auto cefRect = (const CefRect&) rect;
-
- _popupX = cefRect.x;
- _popupY = cefRect.y;
- _popupWidth = cefRect.width;
- _popupHeight = cefRect.height;
+ auto cefRect = (const CefRect*) rect;
+
+ _popupX = cefRect->x;
+ _popupY = cefRect->y;
+ _popupWidth = cefRect->width;
+ _popupHeight = cefRect->height;
if(!Dispatcher->HasShutdownStarted) {
Dispatcher->BeginInvoke(DispatcherPriority::Render, _resizePopupDelegate);
Please sign in to comment.
Something went wrong with that request. Please try again.