diff --git a/atom/browser/api/atom_api_web_contents.cc b/atom/browser/api/atom_api_web_contents.cc index 770b6b347ee4..2a9dabc33874 100644 --- a/atom/browser/api/atom_api_web_contents.cc +++ b/atom/browser/api/atom_api_web_contents.cc @@ -1336,6 +1336,8 @@ void WebContents::OnCursorChange(const content::WebCursor& cursor) { if (cursor.IsCustom()) { Emit("cursor-changed", CursorTypeToString(info), gfx::Image::CreateFrom1xBitmap(info.custom_image), + gfx::Rect(info.custom_image.width(), info.custom_image.height()), + info.hotspot, info.image_scale_factor); } else { Emit("cursor-changed", CursorTypeToString(info));