Commit e70d088f authored by Avi Drissman's avatar Avi Drissman Committed by Commit Bot

Remove Mac 10.7 runtime check

Bug: none
Change-Id: Ib8ee13da5ae9eea86f0ca22727acb07f883dd165
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2261263
Auto-Submit: Avi Drissman <avi@chromium.org>
Commit-Queue: Leonard Grey <lgrey@chromium.org>
Reviewed-by: default avatarLeonard Grey <lgrey@chromium.org>
Cr-Commit-Position: refs/heads/master@{#781550}
parent 25052a5d
......@@ -232,11 +232,7 @@ gfx::NativeCursor WebCursor::GetNativeCursor() {
return GetCoreCursorWithFallback(kMoveCursor,
IDR_MOVE_CURSOR, 7, 7);
case ui::mojom::CursorType::kVerticalText:
// IBeamCursorForVerticalLayout is >= 10.7.
if ([NSCursor respondsToSelector:@selector(IBeamCursorForVerticalLayout)])
return [NSCursor IBeamCursorForVerticalLayout];
else
return LoadCursor(IDR_VERTICALTEXT_CURSOR, 7, 7);
return [NSCursor IBeamCursorForVerticalLayout];
case ui::mojom::CursorType::kCell:
return GetCoreCursorWithFallback(kCellCursor,
IDR_CELL_CURSOR, 7, 7);
......
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