⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 278328 in webkit


Ignore:
Timestamp:
Jun 1, 2021, 2:04:36 PM (5 years ago)
Author:
Fujii Hironori
Message:

[Win] Remove unused GraphicsContext::hdc()
https://bugs.webkit.org/show_bug.cgi?id=226309

Reviewed by Anders Carlsson.

  • platform/graphics/GraphicsContext.h:
  • platform/graphics/win/GraphicsContextWin.cpp:

(WebCore::GraphicsContext::hdc const): Deleted.

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r278325 r278328  
     12021-06-01  Fujii Hironori  <Hironori.Fujii@sony.com>
     2
     3        [Win] Remove unused GraphicsContext::hdc()
     4        https://bugs.webkit.org/show_bug.cgi?id=226309
     5
     6        Reviewed by Anders Carlsson.
     7
     8        * platform/graphics/GraphicsContext.h:
     9        * platform/graphics/win/GraphicsContextWin.cpp:
     10        (WebCore::GraphicsContext::hdc const): Deleted.
     11
    1122021-06-01  Cameron McCormack  <heycam@apple.com>
    213
  • trunk/Source/WebCore/platform/graphics/GraphicsContext.h

    r278253 r278328  
    534534    HDC getWindowsContext(const IntRect&, bool supportAlphaBlend); // The passed in rect is used to create a bitmap for compositing inside transparency layers.
    535535    void releaseWindowsContext(HDC, const IntRect&, bool supportAlphaBlend); // The passed in HDC should be the one handed back by getWindowsContext.
    536     HDC hdc() const;
    537536
    538537    // FIXME: This should not exist; we need a different place to
  • trunk/Source/WebCore/platform/graphics/win/GraphicsContextWin.cpp

    r278149 r278328  
    105105}
    106106
    107 HDC GraphicsContext::hdc() const
    108 {
    109     if (!deprecatedPrivateContext())
    110         return nullptr;
    111 
    112     return deprecatedPrivateContext()->m_hdc;
    113 }
    114 
    115107#if PLATFORM(WIN) && !USE(DIRECT2D)
    116108void GraphicsContextPlatformPrivate::save()
Note: See TracChangeset for help on using the changeset viewer.