fix toBUFFER naming issue and cursor-changed parameter order
This commit is contained in:
parent
f3b723c9fa
commit
bc7c5c567c
3 changed files with 6 additions and 6 deletions
|
@ -1299,9 +1299,9 @@ 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);
|
||||
info.image_scale_factor,
|
||||
gfx::Size(info.custom_image.width(), info.custom_image.height()),
|
||||
info.hotspot);
|
||||
} else {
|
||||
Emit("cursor-changed", CursorTypeToString(info));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue