Changeset 278328 in webkit
- Timestamp:
- Jun 1, 2021, 2:04:36 PM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/GraphicsContext.h (modified) (1 diff)
-
platform/graphics/win/GraphicsContextWin.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r278325 r278328 1 2021-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 1 12 2021-06-01 Cameron McCormack <heycam@apple.com> 2 13 -
trunk/Source/WebCore/platform/graphics/GraphicsContext.h
r278253 r278328 534 534 HDC getWindowsContext(const IntRect&, bool supportAlphaBlend); // The passed in rect is used to create a bitmap for compositing inside transparency layers. 535 535 void releaseWindowsContext(HDC, const IntRect&, bool supportAlphaBlend); // The passed in HDC should be the one handed back by getWindowsContext. 536 HDC hdc() const;537 536 538 537 // FIXME: This should not exist; we need a different place to -
trunk/Source/WebCore/platform/graphics/win/GraphicsContextWin.cpp
r278149 r278328 105 105 } 106 106 107 HDC GraphicsContext::hdc() const108 {109 if (!deprecatedPrivateContext())110 return nullptr;111 112 return deprecatedPrivateContext()->m_hdc;113 }114 115 107 #if PLATFORM(WIN) && !USE(DIRECT2D) 116 108 void GraphicsContextPlatformPrivate::save()
Note:
See TracChangeset
for help on using the changeset viewer.