Changeset 31403 in webkit


Ignore:
Timestamp:
Mar 28, 2008 1:02:34 PM (16 years ago)
Author:
beidson@apple.com
Message:

2008-03-28 Brent Fulgham <bfulgham@gmail.com>

Reviewed by Maciej, landed by Brady

Correct build regression (http://bugs.webkit.org/show_bug.cgi?id=18148)

  • platform/graphics/win/GraphicsContextCairoWin.cpp: (WebCore::GraphicsContext::getWindowsContext): (WebCore::GraphicsContext::releaseWindowsContext):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r31400 r31403  
     12008-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
    1112008-03-28  Brady Eidson  <beidson@apple.com>
    212
  • trunk/WebCore/platform/graphics/win/GraphicsContextCairoWin.cpp

    r30533 r31403  
    5959}
    6060
    61 HDC GraphicsContext::getWindowsContext(const IntRect& dstRect, bool supportAlphaBlend)
     61HDC GraphicsContext::getWindowsContext(const IntRect& dstRect, bool supportAlphaBlend, bool mayCreateBitmap)
    6262{
     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
    6368    // This is probably wrong, and definitely out of date.  Pulled from old SVN
    6469    cairo_surface_t* surface = cairo_get_target(platformContext());
     
    7883    xform.eDx = mat.x0;
    7984    xform.eDy = mat.y0;
    80     SetWorldTransform(hdc, &xform);
     85    ::SetWorldTransform(hdc, &xform);
    8186
    8287    return hdc;
     
    8590bool GraphicsContext::inTransparencyLayer() const { return m_data->m_transparencyCount; }
    8691
    87 void GraphicsContext::releaseWindowsContext(HDC hdc, const IntRect& dstRect, bool supportAlphaBlend)
     92void GraphicsContext::releaseWindowsContext(HDC hdc, const IntRect& dstRect, bool supportAlphaBlend, bool mayCreateBitmap)
    8893{
     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
    8999    cairo_surface_t* surface = cairo_get_target(platformContext());
    90100    HDC hdc2 = cairo_win32_surface_get_dc(surface);
Note: See TracChangeset for help on using the changeset viewer.