diff options
Diffstat (limited to 'WebCore/plugins/win/PluginViewWin.cpp')
-rw-r--r-- | WebCore/plugins/win/PluginViewWin.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/WebCore/plugins/win/PluginViewWin.cpp b/WebCore/plugins/win/PluginViewWin.cpp index 1765939..8dbb04b 100644 --- a/WebCore/plugins/win/PluginViewWin.cpp +++ b/WebCore/plugins/win/PluginViewWin.cpp @@ -30,6 +30,8 @@ #include "BitmapImage.h" #include "Bridge.h" +#include "Chrome.h" +#include "ChromeClient.h" #include "Document.h" #include "DocumentLoader.h" #include "Element.h" @@ -656,7 +658,6 @@ void PluginView::handleKeyboardEvent(KeyboardEvent* event) } #if !OS(WINCE) -extern HCURSOR lastSetCursor; extern bool ignoreNextSetCursor; #endif @@ -727,7 +728,8 @@ void PluginView::handleMouseEvent(MouseEvent* event) // Currently, Widget::setCursor is always called after this function in EventHandler.cpp // and since we don't want that we set ignoreNextSetCursor to true here to prevent that. ignoreNextSetCursor = true; - lastSetCursor = ::GetCursor(); + if (Page* page = m_parentFrame->page()) + page->chrome()->client()->setLastSetCursorToCurrentCursor(); #endif } |