Changeset 23486 in webkit


Ignore:
Timestamp:
Jun 12, 2007 11:56:26 PM (17 years ago)
Author:
oliver
Message:

WebCore:

Reviewed by Darin.

Use correct size for BITMAPINFOHEADER -- whoops.

  • platform/win/CursorWin.cpp: (WebCore::Cursor::Cursor):
  • platform/win/PasteboardWin.cpp: (WebCore::Pasteboard::writeImage):

WebKit:

Reviewed by Darin.

Use correct size for BITMAPINFOHEADER -- whoops.

  • win/WebIconDatabase.cpp: (createDIB): (WebIconDatabase::getOrCreateDefaultIconBitmap):
Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r23471 r23486  
     12007-06-12  Oliver Hunt  <oliver@apple.com>
     2
     3        Reviewed by Darin.
     4
     5        Use correct size for BITMAPINFOHEADER -- whoops.
     6
     7        * platform/win/CursorWin.cpp:
     8        (WebCore::Cursor::Cursor):
     9        * platform/win/PasteboardWin.cpp:
     10        (WebCore::Pasteboard::writeImage):
     11
    1122007-06-12  Sam Weinig  <sam@webkit.org>
    213
  • trunk/WebCore/platform/win/CursorWin.cpp

    r23462 r23486  
    5454    HBITMAP hCursor;
    5555    BITMAPINFO cursorImage = {0};
    56     cursorImage.bmiHeader.biSize = sizeof(BITMAPINFO);
     56    cursorImage.bmiHeader.biSize = sizeof(BITMAPINFOHEADER);
    5757    cursorImage.bmiHeader.biWidth = img->width();
    5858    cursorImage.bmiHeader.biHeight = img->height();
  • trunk/WebCore/platform/win/PasteboardWin.cpp

    r23462 r23486  
    189189
    190190    BITMAPINFO bmInfo = {0};
    191     bmInfo.bmiHeader.biSize = sizeof(BITMAPINFO);
     191    bmInfo.bmiHeader.biSize = sizeof(BITMAPINFOHEADER);
    192192    bmInfo.bmiHeader.biWidth = image->width();
    193193    bmInfo.bmiHeader.biHeight = image->height();
  • trunk/WebKit/ChangeLog

    r22084 r23486  
     12007-06-12  Oliver Hunt  <oliver@apple.com>
     2
     3        Reviewed by Darin.
     4
     5        Use correct size for BITMAPINFOHEADER -- whoops.
     6
     7        * win/WebIconDatabase.cpp:
     8        (createDIB):
     9        (WebIconDatabase::getOrCreateDefaultIconBitmap):
     10
    1112007-06-10  David Hyatt  <hyatt@apple.com>
    212
  • trunk/WebKit/win/WebIconDatabase.cpp

    r23455 r23486  
    242242
    243243    BITMAPINFO bmInfo = {0};
    244     bmInfo.bmiHeader.biSize = sizeof(BITMAPINFO);
     244    bmInfo.bmiHeader.biSize = sizeof(BITMAPINFOHEADER);
    245245    bmInfo.bmiHeader.biWidth = size->cx;
    246246    bmInfo.bmiHeader.biHeight = size->cy;
Note: See TracChangeset for help on using the changeset viewer.