diff options
author | Jocelyn Turcotte <jocelyn.turcotte@nokia.com> | 2009-11-25 15:22:29 (GMT) |
---|---|---|
committer | Jocelyn Turcotte <jocelyn.turcotte@nokia.com> | 2009-11-25 15:23:51 (GMT) |
commit | dddd3e5fc9658ebbb5f94b343e7c7c0cd27eb7f2 (patch) | |
tree | 7ae99c710f74a6f19f229ce1af5c8627c8af6259 /src | |
parent | cdc0b5fdf1197b07ad446cab339010e8c0fb8e8b (diff) | |
download | Qt-dddd3e5fc9658ebbb5f94b343e7c7c0cd27eb7f2.zip Qt-dddd3e5fc9658ebbb5f94b343e7c7c0cd27eb7f2.tar.gz Qt-dddd3e5fc9658ebbb5f94b343e7c7c0cd27eb7f2.tar.bz2 |
Fix crash of QtWebKit on any page with Flash when compiled witn MinGW.
Early push of this fix which should be overwritten by the fix
upstreamed in WebKit trunk later.
Reviewed-by: Simon Hausmann
Diffstat (limited to 'src')
-rw-r--r-- | src/3rdparty/webkit/WebCore/plugins/win/PluginViewWin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/3rdparty/webkit/WebCore/plugins/win/PluginViewWin.cpp b/src/3rdparty/webkit/WebCore/plugins/win/PluginViewWin.cpp index 5ccce0e..b313afb 100644 --- a/src/3rdparty/webkit/WebCore/plugins/win/PluginViewWin.cpp +++ b/src/3rdparty/webkit/WebCore/plugins/win/PluginViewWin.cpp @@ -145,7 +145,7 @@ HDC WINAPI PluginView::hookedBeginPaint(HWND hWnd, PAINTSTRUCT* lpPaint) "push %3\n" "call *%4\n" : "=a" (result) - : "a" (beginPaintSysCall), "g" (lpPaint), "g" (hWnd), "m" (*beginPaint) + : "a" (beginPaintSysCall), "g" (lpPaint), "g" (hWnd), "m" (beginPaint) : "memory" ); return result; @@ -175,7 +175,7 @@ BOOL WINAPI PluginView::hookedEndPaint(HWND hWnd, const PAINTSTRUCT* lpPaint) "push %3\n" "call *%4\n" : "=a" (result) - : "a" (endPaintSysCall), "g" (lpPaint), "g" (hWnd), "m" (*endPaint) + : "a" (endPaintSysCall), "g" (lpPaint), "g" (hWnd), "m" (endPaint) ); return result; #elif defined (_M_IX86) |