Changeset 192143 in webkit
- Timestamp:
- Nov 8, 2015 7:32:41 AM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r192142 r192143 1 2015-11-08 David Kilzer <ddkilzer@apple.com> 2 3 REGRESSION (r192140): Windows build broke after removing ColorSpace argument to all drawing calls 4 <http://webkit.org/b/150967> 5 6 Unreviewed attempt to fix the Windows build. 7 8 * platform/graphics/ca/win/PlatformCALayerWin.cpp: 9 (PlatformCALayerWin::drawTextAtPoint): 10 * platform/graphics/win/ImageCGWin.cpp: 11 (WebCore::BitmapImage::drawFrameMatchingSourceSize): 12 * rendering/RenderThemeWin.cpp: 13 (WebCore::RenderThemeWin::paintSearchFieldCancelButton): 14 (WebCore::RenderThemeWin::paintSearchFieldResultsDecorationPart): 15 (WebCore::RenderThemeWin::paintSearchFieldResultsButton): 16 1 17 2015-11-08 Youenn Fablet <youenn.fablet@crf.canon.fr> 2 18 -
trunk/Source/WebCore/platform/graphics/ca/win/PlatformCALayerWin.cpp
r190292 r192143 928 928 929 929 GraphicsContext cg(context); 930 cg.setFillColor(Color::black , ColorSpaceDeviceRGB);930 cg.setFillColor(Color::black); 931 931 cg.drawText(font, TextRun(text), IntPoint(x, y)); 932 932 } -
trunk/Source/WebCore/platform/graphics/win/ImageCGWin.cpp
r192140 r192143 95 95 size_t currentFrame = m_currentFrame; 96 96 m_currentFrame = i; 97 draw(ctxt, dstRect, FloatRect(0.0f, 0.0f, srcSize.width(), srcSize.height()), styleColorSpace,compositeOp, BlendModeNormal, ImageOrientationDescription());97 draw(ctxt, dstRect, FloatRect(0.0f, 0.0f, srcSize.width(), srcSize.height()), compositeOp, BlendModeNormal, ImageOrientationDescription()); 98 98 m_currentFrame = currentFrame; 99 99 return; … … 103 103 // No image of the correct size was found, fallback to drawing the current frame 104 104 FloatSize imageSize = BitmapImage::size(); 105 draw(ctxt, dstRect, FloatRect(0.0f, 0.0f, imageSize.width(), imageSize.height()), styleColorSpace,compositeOp, BlendModeNormal, ImageOrientationDescription());105 draw(ctxt, dstRect, FloatRect(0.0f, 0.0f, imageSize.width(), imageSize.height()), compositeOp, BlendModeNormal, ImageOrientationDescription()); 106 106 } 107 107 -
trunk/Source/WebCore/rendering/RenderThemeWin.cpp
r191049 r192143 893 893 static Image* cancelImage = Image::loadPlatformResource("searchCancel").leakRef(); 894 894 static Image* cancelPressedImage = Image::loadPlatformResource("searchCancelPressed").leakRef(); 895 paintInfo.context().drawImage(isPressed(o) ? *cancelPressedImage : *cancelImage, o.style().colorSpace(),bounds);895 paintInfo.context().drawImage(isPressed(o) ? *cancelPressedImage : *cancelImage, bounds); 896 896 return false; 897 897 } … … 941 941 942 942 static Image* magnifierImage = Image::loadPlatformResource("searchMagnifier").leakRef(); 943 paintInfo.context().drawImage(*magnifierImage, o.style().colorSpace(),bounds);943 paintInfo.context().drawImage(*magnifierImage, bounds); 944 944 return false; 945 945 } … … 976 976 977 977 static Image* magnifierImage = Image::loadPlatformResource("searchMagnifierResults").leakRef(); 978 paintInfo.context().drawImage(*magnifierImage, o.style().colorSpace(),bounds);978 paintInfo.context().drawImage(*magnifierImage, bounds); 979 979 return false; 980 980 }
Note: See TracChangeset
for help on using the changeset viewer.