Changeset 158001 in webkit
- Timestamp:
- Oct 25, 2013 4:49:08 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r157999 r158001 1 2013-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 1 12 2013-10-25 Sergio Villar Senin <svillar@igalia.com> 2 13 -
trunk/Source/WebCore/platform/graphics/win/ImageCairoWin.cpp
r155570 r158001 85 85 drawFrameMatchingSourceSize(&gc, FloatRect(0.0f, 0.0f, bmpInfo.bmWidth, bmpInfo.bmHeight), *size, ColorSpaceDeviceRGB, CompositeCopy); 86 86 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()); 88 88 89 89 // Do cleanup … … 104 104 size_t currentFrame = m_currentFrame; 105 105 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()); 107 107 m_currentFrame = currentFrame; 108 108 return; … … 112 112 // No image of the correct size was found, fallback to drawing the current frame 113 113 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()); 115 115 } 116 116
Note: See TracChangeset
for help on using the changeset viewer.