Changeset 69110 in webkit


Ignore:
Timestamp:
Oct 5, 2010 8:44:57 AM (14 years ago)
Author:
jpetsovits@rim.com
Message:

2010-10-05 Jakob Petsovits <jpetsovits@rim.com>

Reviewed by Andreas Kling.

[Qt] Make build work with QT_NO_CURSOR
https://bugs.webkit.org/show_bug.cgi?id=46097

createCustomCursor() is a static function and not used
in that file if QT_NO_CURSOR is defined, so rather than
making it return 0, it should not exist altogether.

  • platform/qt/CursorQt.cpp: (WebCore::createCustomCursor):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r69106 r69110  
     12010-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
    1152010-10-05  Adam Roben  <aroben@apple.com>
    216
  • trunk/WebCore/platform/qt/CursorQt.cpp

    r65631 r69110  
    7373}
    7474
     75#ifndef QT_NO_CURSOR
    7576static QCursor* createCustomCursor(Image* image, const IntPoint& hotSpot)
    7677{
    77 #ifndef QT_NO_CURSOR
    7878    IntPoint effectiveHotSpot = determineHotSpot(image, hotSpot);
    7979    return new QCursor(*(image->nativeImageForCurrentFrame()), effectiveHotSpot.x(), effectiveHotSpot.y());
    80 #else
    81     return 0;
    82 #endif
    83 }
     80}
     81#endif
    8482
    8583void Cursor::ensurePlatformCursor() const
Note: See TracChangeset for help on using the changeset viewer.