Changeset 158001 in webkit


Ignore:
Timestamp:
Oct 25, 2013 4:49:08 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[WinCairo] Compile fixes.
https://bugs.webkit.org/show_bug.cgi?id=123269

Patch by peavo@outlook.com <peavo@outlook.com> on 2013-10-25
Reviewed by Csaba Osztrogonác.

  • platform/graphics/win/ImageCairoWin.cpp: Added new parameter to BitmapImage::draw() calls.

(WebCore::BitmapImage::getHBITMAPOfSize):
(WebCore::BitmapImage::drawFrameMatchingSourceSize):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r157999 r158001  
     12013-10-25  peavo@outlook.com  <peavo@outlook.com>
     2
     3        [WinCairo] Compile fixes.
     4        https://bugs.webkit.org/show_bug.cgi?id=123269
     5
     6        Reviewed by Csaba Osztrogonác.
     7
     8        * platform/graphics/win/ImageCairoWin.cpp: Added new parameter to BitmapImage::draw() calls.
     9        (WebCore::BitmapImage::getHBITMAPOfSize):
     10        (WebCore::BitmapImage::drawFrameMatchingSourceSize):
     11
    1122013-10-25  Sergio Villar Senin  <svillar@igalia.com>
    213
  • trunk/Source/WebCore/platform/graphics/win/ImageCairoWin.cpp

    r155570 r158001  
    8585        drawFrameMatchingSourceSize(&gc, FloatRect(0.0f, 0.0f, bmpInfo.bmWidth, bmpInfo.bmHeight), *size, ColorSpaceDeviceRGB, CompositeCopy);
    8686    else
    87         draw(&gc, FloatRect(0.0f, 0.0f, bmpInfo.bmWidth, bmpInfo.bmHeight), FloatRect(0.0f, 0.0f, imageSize.width(), imageSize.height()), ColorSpaceDeviceRGB, CompositeCopy, BlendModeNormal);
     87        draw(&gc, FloatRect(0.0f, 0.0f, bmpInfo.bmWidth, bmpInfo.bmHeight), FloatRect(0.0f, 0.0f, imageSize.width(), imageSize.height()), ColorSpaceDeviceRGB, CompositeCopy, BlendModeNormal, ImageOrientationDescription());
    8888
    8989    // Do cleanup
     
    104104            size_t currentFrame = m_currentFrame;
    105105            m_currentFrame = i;
    106             draw(ctxt, dstRect, FloatRect(0.0f, 0.0f, srcSize.width(), srcSize.height()), ColorSpaceDeviceRGB, compositeOp, BlendModeNormal);
     106            draw(ctxt, dstRect, FloatRect(0.0f, 0.0f, srcSize.width(), srcSize.height()), ColorSpaceDeviceRGB, compositeOp, BlendModeNormal, ImageOrientationDescription());
    107107            m_currentFrame = currentFrame;
    108108            return;
     
    112112    // No image of the correct size was found, fallback to drawing the current frame
    113113    IntSize imageSize = BitmapImage::size();
    114     draw(ctxt, dstRect, FloatRect(0.0f, 0.0f, imageSize.width(), imageSize.height()), ColorSpaceDeviceRGB, compositeOp, BlendModeNormal);
     114    draw(ctxt, dstRect, FloatRect(0.0f, 0.0f, imageSize.width(), imageSize.height()), ColorSpaceDeviceRGB, compositeOp, BlendModeNormal, ImageOrientationDescription());
    115115}
    116116
Note: See TracChangeset for help on using the changeset viewer.