Skip to content
Browse files

fixes #162

  • Loading branch information...
1 parent fe53146 commit 3f280efebe022c42a4db924482ac7521244b78b8 @ChadyG ChadyG committed Sep 16, 2013
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);

0 comments on commit 3f280ef

Please sign in to comment.
Something went wrong with that request. Please try again.