Changeset 31403 in webkit
- Timestamp:
- Mar 28, 2008 1:02:34 PM (16 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r31400 r31403 1 2008-03-28 Brent Fulgham <bfulgham@gmail.com> 2 3 Reviewed by Maciej, landed by Brady 4 5 Correct build regression (http://bugs.webkit.org/show_bug.cgi?id=18148) 6 7 * platform/graphics/win/GraphicsContextCairoWin.cpp: 8 (WebCore::GraphicsContext::getWindowsContext): 9 (WebCore::GraphicsContext::releaseWindowsContext): 10 1 11 2008-03-28 Brady Eidson <beidson@apple.com> 2 12 -
trunk/WebCore/platform/graphics/win/GraphicsContextCairoWin.cpp
r30533 r31403 59 59 } 60 60 61 HDC GraphicsContext::getWindowsContext(const IntRect& dstRect, bool supportAlphaBlend )61 HDC GraphicsContext::getWindowsContext(const IntRect& dstRect, bool supportAlphaBlend, bool mayCreateBitmap) 62 62 { 63 // FIXME: We aren't really doing anything with the 'mayCreateBitmap' flag. This needs 64 // to be addressed. 65 if (dstRect.isEmpty()) 66 return 0; 67 63 68 // This is probably wrong, and definitely out of date. Pulled from old SVN 64 69 cairo_surface_t* surface = cairo_get_target(platformContext()); … … 78 83 xform.eDx = mat.x0; 79 84 xform.eDy = mat.y0; 80 SetWorldTransform(hdc, &xform);85 ::SetWorldTransform(hdc, &xform); 81 86 82 87 return hdc; … … 85 90 bool GraphicsContext::inTransparencyLayer() const { return m_data->m_transparencyCount; } 86 91 87 void GraphicsContext::releaseWindowsContext(HDC hdc, const IntRect& dstRect, bool supportAlphaBlend )92 void GraphicsContext::releaseWindowsContext(HDC hdc, const IntRect& dstRect, bool supportAlphaBlend, bool mayCreateBitmap) 88 93 { 94 // FIXME: We aren't really doing anything with the 'mayCreateBitmap' flag. This needs 95 // to be addressed. 96 if (dstRect.isEmpty()) 97 return; 98 89 99 cairo_surface_t* surface = cairo_get_target(platformContext()); 90 100 HDC hdc2 = cairo_win32_surface_get_dc(surface);
Note: See TracChangeset
for help on using the changeset viewer.