Skip to content

Commit

Permalink
fixes #162
Browse files Browse the repository at this point in the history
  • Loading branch information
ChadyG committed Sep 16, 2013
1 parent fe53146 commit 3f280ef
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions CefSharp.Wpf/WebView.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 3f280ef

Please sign in to comment.