Changeset 17208 in webkit


Ignore:
Timestamp:
Oct 22, 2006 12:31:34 AM (18 years ago)
Author:
darin
Message:
  • another try at fixing Qt
  • CMakeLists.txt: Added DeleteButton.cpp and DeleteButtonController.cpp.
  • and fix a couple warnings while I'm at it
  • platform/image-decoders/ImageDecoder.h: (WebCore::RGBA32Buffer::setRGBA): Don't do unsigned *= float.
  • rendering/break_lines.cpp: (WebCore::nextBreakablePosition): Move unused variable inside #if so it's consistent.
Location:
trunk/WebCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/CMakeLists.txt

    r17194 r17208  
    808808    ${XPATH_SOURCES}
    809809
     810    editing/DeleteButtonController.cpp
     811    editing/DeleteButton.cpp
    810812    editing/Editor.cpp
    811813    editing/CommandByName.cpp
  • trunk/WebCore/ChangeLog

    r17207 r17208  
     12006-10-22  Darin Adler  <darin@apple.com>
     2
     3        - another try at fixing Qt
     4
     5        * CMakeLists.txt: Added DeleteButton.cpp and DeleteButtonController.cpp.
     6
     7        - and fix a couple warnings while I'm at it
     8
     9        * platform/image-decoders/ImageDecoder.h: (WebCore::RGBA32Buffer::setRGBA):
     10        Don't do unsigned *= float.
     11
     12        * rendering/break_lines.cpp: (WebCore::nextBreakablePosition): Move unused variable
     13        inside #if so it's consistent.
     14
    1152006-10-21  Darin Adler  <darin@apple.com>
    216
  • trunk/WebCore/platform/image-decoders/ImageDecoder.h

    r14818 r17208  
    7070            if (a < 255) {
    7171                float alphaPercent = a / 255.0f;
    72                 r *= alphaPercent;
    73                 g *= alphaPercent;
    74                 b *= alphaPercent;
     72                r = static_cast<unsigned>(r * alphaPercent);
     73                g = static_cast<unsigned>(g * alphaPercent);
     74                b = static_cast<unsigned>(b * alphaPercent);
    7575            }
    7676            pos = (a << 24 | r << 16 | g << 8 | b);
  • trunk/WebCore/rendering/break_lines.cpp

    r16245 r17208  
    3737    OSStatus status = 0, findStatus = -1;
    3838    static TextBreakLocatorRef breakLocator = 0;
     39    int nextUCBreak = -1;
    3940#endif
    40     int nextUCBreak = -1;
    4141    int i;
    4242    unsigned short ch, lastCh;
Note: See TracChangeset for help on using the changeset viewer.