Fix one more BITMAPINFO/BITMAPINFOHEADER typo.
authoraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Jun 2007 07:25:28 +0000 (07:25 +0000)
committeraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Jun 2007 07:25:28 +0000 (07:25 +0000)
        Rubberstamped by Oliver.

        * platform/win/DragImageWin.cpp:
        (WebCore::allocImage):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@23487 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/platform/win/DragImageWin.cpp

index 4d3625a89f5fe264a03f655ab34455cbe5546b00..d3c7dbc97c11e27991df1a451b0264006bc2781d 100644 (file)
@@ -1,3 +1,12 @@
+2007-06-13  Adam Roben  <aroben@apple.com>
+
+        Fix one more BITMAPINFO/BITMAPINFOHEADER typo.
+
+        Rubberstamped by Oliver.
+
+        * platform/win/DragImageWin.cpp:
+        (WebCore::allocImage):
+
 2007-06-12  Oliver Hunt  <oliver@apple.com>
 
         Reviewed by Darin.
index bfe96b8610c90ab8e82ab4543562ca8390e3c0b3..2230bc56864b2dd34357e1bff36440afb1636e83 100644 (file)
@@ -56,7 +56,7 @@ HBITMAP allocImage(HDC dc, IntSize size, CGContextRef *targetRef)
 {
     HBITMAP hbmp;
     BITMAPINFO bmpInfo = {0};
-    bmpInfo.bmiHeader.biSize = sizeof(BITMAPINFO);
+    bmpInfo.bmiHeader.biSize = sizeof(BITMAPINFOHEADER);
     bmpInfo.bmiHeader.biWidth = size.width();
     bmpInfo.bmiHeader.biHeight = size.height();
     bmpInfo.bmiHeader.biPlanes = 1;