WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
241777
TextureMapperLayer::computeOverlapRegions doesn't need to use m_state.contentsRect
https://bugs.webkit.org/show_bug.cgi?id=241777
Summary
TextureMapperLayer::computeOverlapRegions doesn't need to use m_state.content...
Fujii Hironori
Reported
2022-06-19 23:52:47 PDT
TextureMapperLayer::computeOverlapRegions doesn't need to use m_state.contentsRect computeOverlapRegions has the following code.
> if (m_backingStore || m_state.masksToBounds || m_state.maskLayer || hasFilters()) > localBoundingRect = layerRect(); > else if (m_contentsLayer || m_state.solidColor.isVisible()) > localBoundingRect = m_state.contentsRect;
But, I don't know why m_state.contentsRect is used. It was added by
129278@main
(
Bug 110762
).
Attachments
Add attachment
proposed patch, testcase, etc.
Fujii Hironori
Comment 1
2022-06-20 00:16:25 PDT
It might be for content layers with padding and transparent background.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug