On sites like hulu.com while playing a video the cursor would not disappear if it was within the bounds of the plugin. This was because of the SetCursorPatch for the flash plugin in Windows. The plugin periodically calls SetCursor and we only allow this call in the context of a HandleEvent for a mouse event. This results in the SetCursor attempt by the plugin to fail. The reason we do this is to prevent annoying flicker if the plugin in the background tab keeps changing the cursor.
On sites like hulu.com while playing a video the cursor would not disappear if it was within the bounds of the plugin. This was because of the
SetCursorPatch for the flash plugin in Windows. The plugin periodically calls SetCursor and we only allow this call in the context of a HandleEvent
for a mouse event. This results in the SetCursor attempt by the plugin to fail. The reason we do this is to prevent annoying flicker if the plugin
in the background tab keeps changing the cursor.

Fix is to set the cursor only if has changed.

Fixes bug http://code.google.com/p/chromium/issues/detail?id=33549

Bug=33549

Review URL: http://codereview.chromium.org/1576020

git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@43731 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser