Changeset 69110 in webkit
- Timestamp:
- Oct 5, 2010, 8:44:57 AM (15 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r69106 r69110 1 2010-10-05 Jakob Petsovits <jpetsovits@rim.com> 2 3 Reviewed by Andreas Kling. 4 5 [Qt] Make build work with QT_NO_CURSOR 6 https://bugs.webkit.org/show_bug.cgi?id=46097 7 8 createCustomCursor() is a static function and not used 9 in that file if QT_NO_CURSOR is defined, so rather than 10 making it return 0, it should not exist altogether. 11 12 * platform/qt/CursorQt.cpp: 13 (WebCore::createCustomCursor): 14 1 15 2010-10-05 Adam Roben <aroben@apple.com> 2 16 -
trunk/WebCore/platform/qt/CursorQt.cpp
r65631 r69110 73 73 } 74 74 75 #ifndef QT_NO_CURSOR 75 76 static QCursor* createCustomCursor(Image* image, const IntPoint& hotSpot) 76 77 { 77 #ifndef QT_NO_CURSOR78 78 IntPoint effectiveHotSpot = determineHotSpot(image, hotSpot); 79 79 return new QCursor(*(image->nativeImageForCurrentFrame()), effectiveHotSpot.x(), effectiveHotSpot.y()); 80 #else 81 return 0; 82 #endif 83 } 80 } 81 #endif 84 82 85 83 void Cursor::ensurePlatformCursor() const
Note:
See TracChangeset
for help on using the changeset viewer.