Closed Bug 1693947 Opened 2 months ago Closed 2 months ago

webrender::RenderApi::set_document_view is unused

Categories

(Core :: Graphics: WebRender, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: jimb, Assigned: jimb)

Details

Attachments

(1 file)

The method webrender::RenderApi::set_document_view is unused by Gecko. Servo does use it, but it seems to me it could equivalently submit a Transaction with a set_document_view SceneMsg.

The unused code suspiciously constructs a TransactionMsg whose use_scene_builder_thread flag is false, despite the fact that it contains a SceneMsg.

Delete the method webrender::RenderApi::set_document_view, since it is unused
by Gecko. (The unused code suspiciously constructs a TransactionMsg whose
use_scene_builder_thread flag is false, despite the fact that it contains a
SceneMsg.)

Assignee: nobody → jimb
Status: NEW → ASSIGNED
Pushed by jblandy@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d3bbd25f75bf
Remove unused `webrender::RenderApi::set_document_view`. r=nical
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.