Closed Bug 1729606 Opened 3 years ago Closed 3 years ago

remove ScrollMetadata::mScrollClip

Categories

(Core :: Panning and Zooming, task, P3)

task

Tracking

()

RESOLVED FIXED
94 Branch
Tracking Status
firefox94 --- fixed

People

(Reporter: tnikkel, Assigned: tnikkel)

References

Details

Attachments

(2 files)

After bug 1729604 there is only one user in one gtest. I haven't tried to understand the test at all but presumably since the api is unused in non-testcode we don't need to test it anymore so the test can either be removed or modified to test what it wants without using this field.

Not sure if bug 1593381 comes into play or not.

Looks like bug 1593381 doesn't touch this call site, but the follow up bug 1729118 might.

Depends on: 1729118
No longer depends on: 1593381

I had a look at this, and it looks like, while HitTestingRespectsScrollClip_Bug1257288 does call SetScrollClip(), no one actually uses the scroll clip that's set, not even in test code.

So, this function can be removed without impacting the test.

One could argue that without the scroll clip, the test no longer serves its original purpose. That's fine though -- in bug 1730606, I'm going to port this test to mochitest, and I'll use the HTML testcase from the original bug (bug 1257288) as the basis for it. I don't think we need to block the removal on that.

No longer depends on: 1729118
Priority: -- → P3
Assignee: nobody → tnikkel
Status: NEW → ASSIGNED
Pushed by tnikkel@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/81da9afea6c6
Remove unused ScrollMetadata::mScrollClip. r=botond
https://hg.mozilla.org/integration/autoland/rev/8c9e9d61fc32
Remove unused LayerClip, Layer::Get/SetScrolledClip, Layer::*AncestorMaskLayer* and related code. r=botond
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: