-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove GraphicsContext::getShadow and ::setShadow
https://bugs.webkit.org/show_bug.cgi?id=259233 rdar://112296081 Reviewed by Simon Fraser. Replace uses of GraphicsContext::getShadow() with ::getDropShadow() and ::setShadow() with ::setDropShadow(). This is in preparation for merging m_dropShadow in GraphicsContextState with m_style. Refactoring - no functional changes. Combined changes: * Source/WebCore/Modules/system-preview/ARKitBadgeSystemImage.mm: (WebCore::ARKitBadgeSystemImage::draw const): * Source/WebCore/display/css/DisplayBoxDecorationPainter.cpp: (WebCore::Display::BoxDecorationPainter::paintBoxShadow const): * Source/WebCore/html/canvas/CanvasRenderingContext2DBase.cpp: (WebCore::CanvasRenderingContext2DBase::clearRect): (WebCore::CanvasRenderingContext2DBase::applyShadow): (WebCore::CanvasRenderingContext2DBase::drawTextUnchecked): * Source/WebCore/page/DebugPageOverlays.cpp: (WebCore::InteractionRegionOverlay::drawSettings): * Source/WebCore/platform/graphics/GraphicsContext.cpp: (WebCore::GraphicsContext::getShadow const): Deleted. * Source/WebCore/platform/graphics/GraphicsContext.h: (WebCore::GraphicsContext::setShadow): Deleted. * Source/WebCore/platform/graphics/coretext/FontCascadeCoreText.cpp: (WebCore::FontCascade::drawGlyphs): * Source/WebCore/rendering/BackgroundPainter.cpp: (WebCore::applyBoxShadowForBackground): (WebCore::BackgroundPainter::paintBoxShadow): * Source/WebCore/rendering/EllipsisBoxPainter.cpp: (WebCore::EllipsisBoxPainter::paint): * Source/WebCore/rendering/RenderThemeIOS.mm: (WebCore::RenderThemeIOS::paintTextFieldInnerShadow): (WebCore::RenderThemeIOS::paintCheckboxRadioInnerShadow): * Source/WebCore/rendering/TextDecorationPainter.cpp: (WebCore::TextDecorationPainter::paintBackgroundDecorations): * Source/WebCore/rendering/TextPainter.cpp: * Source/WebKit/WebProcess/WebPage/FindController.cpp: (WebKit::FindController::drawRect): * Source/WebKit/WebProcess/WebPage/WebFoundTextRangeController.cpp: (WebKit::WebFoundTextRangeController::drawRect): Canonical link: https://commits.webkit.org/266116@main
- Loading branch information
1 parent
886fe1f
commit bde6731
Showing
14 changed files
with
28 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters