2009-02-18 Xan Lopez <xan@gnome.org>
Reviewed by Mark Rowe.
https://bugs.webkit.org/show_bug.cgi?id=23989
Based on a patch by Bo Yang <techrazy.yang@gmail.com>
Make the cursor cache global, that's all we really need and
otherwise we can miss cursor transitions in some situations (see
the bug for one testcase). Also remove some now useless code.
* platform/Widget.h:
* platform/gtk/WidgetGtk.cpp:
(WebCore::Widget::Widget):
(WebCore::Widget::~Widget):
(WebCore::Widget::setCursor):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@41055
268f45cc-cd09-0410-ab3c-
d52691b4dbfc