Changeset 95057 in webkit
- Timestamp:
- Sep 13, 2011 5:05:13 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r95056 r95057 1 2011-09-13 Jeff Miller <jeffm@apple.com> 2 3 WebCore::Cursor::ensurePlatformCursor() should always set a valid platform cursor on Windows 4 https://bugs.webkit.org/show_bug.cgi?id=68043 5 6 Make sure we set a valid platform cursor in the Cursor::NoDrop case, and add a default 7 clause that uses the arrow cursor in case another cursor type is added in the future 8 and we forget to update ensurePlatformCursor(). 9 10 Reviewed by Anders Carlsson. 11 12 * platform/win/CursorWin.cpp: 13 (WebCore::Cursor::ensurePlatformCursor): Always set a valid platform cursor. 14 1 15 2011-09-12 Jon Honeycutt <jhoneycutt@apple.com> 2 16 -
trunk/Source/WebCore/platform/win/CursorWin.cpp
r85420 r95057 244 244 break; 245 245 case Cursor::NoDrop: 246 break;247 246 case Cursor::NotAllowed: 248 247 m_platformCursor = loadSharedCursor(0, IDC_NO); … … 256 255 case Cursor::Custom: 257 256 m_platformCursor = createSharedCursor(m_image.get(), m_hotSpot); 257 break; 258 default: 259 ASSERT_NOT_REACHED(); 260 m_platformCursor = loadSharedCursor(0, IDC_ARROW); 258 261 break; 259 262 }
Note: See TracChangeset
for help on using the changeset viewer.