Commit f46f3df3 authored by Henrique Ferreiro's avatar Henrique Ferreiro Committed by Commit Bot

Remove unused blink::WebCursorInfo::external_handle

Bug: 1028080
Change-Id: I15606b5c28ba03e4229b805af9f61c9bacfb7fd1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1947649Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Commit-Queue: Henrique Ferreiro <hferreiro@igalia.com>
Cr-Commit-Position: refs/heads/master@{#720930}
parent 56d4732d
...@@ -50,19 +50,8 @@ struct WebCursorInfo { ...@@ -50,19 +50,8 @@ struct WebCursorInfo {
float image_scale_factor; float image_scale_factor;
SkBitmap custom_image; SkBitmap custom_image;
#ifdef WIN32
// On Windows, kTypeCustom may alternatively reference an externally
// defined HCURSOR. If |type| is kTypeCustom and |external_handle| is non-
// null, then |custom_image| should be ignored. The WebCursorInfo is not
// responsible for managing the lifetime of this cursor handle.
HCURSOR external_handle;
#endif
explicit WebCursorInfo(ui::CursorType type = ui::CursorType::kPointer) explicit WebCursorInfo(ui::CursorType type = ui::CursorType::kPointer)
: type(type), image_scale_factor(1) { : type(type), image_scale_factor(1) {
#ifdef WIN32
external_handle = 0;
#endif
} }
#if INSIDE_BLINK #if INSIDE_BLINK
......
...@@ -45,12 +45,6 @@ WebCursorInfo::WebCursorInfo(const Cursor& cursor) ...@@ -45,12 +45,6 @@ WebCursorInfo::WebCursorInfo(const Cursor& cursor)
: type(static_cast<ui::CursorType>(cursor.GetType())), : type(static_cast<ui::CursorType>(cursor.GetType())),
hot_spot(cursor.HotSpot()), hot_spot(cursor.HotSpot()),
image_scale_factor(cursor.ImageScaleFactor()), image_scale_factor(cursor.ImageScaleFactor()),
custom_image(GetCursorBitmap(cursor)) custom_image(GetCursorBitmap(cursor)) {}
#ifdef WIN32
,
external_handle(0)
#endif
{
}
} // namespace blink } // namespace blink
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment