summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/npapi/webplugin_delegate_impl_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/plugins/npapi/webplugin_delegate_impl_win.cc')
-rw-r--r--webkit/plugins/npapi/webplugin_delegate_impl_win.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/plugins/npapi/webplugin_delegate_impl_win.cc b/webkit/plugins/npapi/webplugin_delegate_impl_win.cc
index 594d61f..4e4273db 100644
--- a/webkit/plugins/npapi/webplugin_delegate_impl_win.cc
+++ b/webkit/plugins/npapi/webplugin_delegate_impl_win.cc
@@ -1515,6 +1515,8 @@ bool WebPluginDelegateImpl::PlatformHandleInputEvent(
// exceptions, such as IME, where it sometimes returns true.
ret = true;
+// TODO(jam): do we need this for Aura?
+#if !defined(USE_AURA)
if (np_event.event == WM_MOUSEMOVE) {
current_windowless_cursor_.InitFromExternalCursor(GetCursor());
// Snag a reference to the current cursor ASAP in case the plugin modified
@@ -1522,6 +1524,7 @@ bool WebPluginDelegateImpl::PlatformHandleInputEvent(
// as someone might be setting the cursor in the main process as well.
current_windowless_cursor_.GetCursorInfo(cursor_info);
}
+#endif
handle_event_depth_--;