Changeset 206780 in webkit


Ignore:
Timestamp:
Oct 4, 2016 12:37:42 PM (8 years ago)
Author:
Brent Fulgham
Message:

Unreviewed build fix after r206773.

Exclude Direct2D definitions when building for normal CG Windows.

  • platform/graphics/GraphicsContext.h:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r206779 r206780  
     12016-10-04  Brent Fulgham  <bfulgham@apple.com>
     2
     3        Unreviewed build fix after r206773.
     4
     5        Exclude Direct2D definitions when building for normal CG Windows.
     6
     7        * platform/graphics/GraphicsContext.h:
     8
    192016-10-04  Yusuke Suzuki  <utatane.tea@gmail.com>
    210
  • trunk/Source/WebCore/platform/graphics/GraphicsContext.h

    r206773 r206780  
    510510#else
    511511    GraphicsContext(HDC, bool hasAlpha = false); // FIXME: To be removed.
    512     GraphicsContext(HDC, ID2D1DCRenderTarget**, RECT, bool hasAlpha = false); // FIXME: To be removed.
    513512
    514513    // When set to true, child windows should be rendered into this context
     
    547546    void drawWindowsBitmap(WindowsBitmap*, const IntPoint&);
    548547#endif
     548#if USE(DIRECT2D)
     549    GraphicsContext(HDC, ID2D1DCRenderTarget**, RECT, bool hasAlpha = false); // FIXME: To be removed.
     550
    549551    WEBCORE_EXPORT static ID2D1Factory* systemFactory();
    550552    WEBCORE_EXPORT static ID2D1RenderTarget* defaultRenderTarget();
     
    556558    ID2D1SolidColorBrush* solidStrokeBrush();
    557559    ID2D1SolidColorBrush* solidFillBrush();
     560#endif
    558561#else // PLATFORM(WIN)
    559562    bool shouldIncludeChildWindows() const { return false; }
     
    573576#if PLATFORM(WIN) && !USE(WINGDI)
    574577    void platformInit(HDC, bool hasAlpha = false);
     578#endif
     579
     580#if USE(DIRECT2D)
    575581    void platformInit(HDC, ID2D1RenderTarget**, RECT, bool hasAlpha = false);
    576582    void platformInit(ID2D1RenderTarget*);
    577 #endif
    578 
    579 #if USE(DIRECT2D)
    580583    void drawWithoutShadow(const FloatRect& boundingRect, const std::function<void(ID2D1RenderTarget*)>&);
    581584    void drawWithShadow(const FloatRect& boundingRect, const std::function<void(ID2D1RenderTarget*)>&);
Note: See TracChangeset for help on using the changeset viewer.