Closed Bug 1698582 Opened 3 years ago Closed 3 years ago

CoalescedMouseMoveFlusher::GetRefreshDriver method can be simplified

Categories

(Core :: DOM: Core & HTML, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: sefeng, Assigned: murali.venkata4, Mentored)

Details

(Keywords: good-first-bug, Whiteboard: [lang=C++] )

Attachments

(1 file)

The CoalescedMouseMoveFlusher::GetRefreshDriver method can be simplified as

nsRefreshDriver* CoalescedMouseMoveFlusher::GetRefreshDriver() {
  if (PresShell* presShell = mBrowserChild->GetTopLevelPresShell()) {
    return presShell->GetRefreshDriver();
  }
  return nullptr;
}
Mentor: sefeng
Assignee: nobody → murali.venkata4
Status: NEW → ASSIGNED
Attachment #9209218 - Attachment description: Bug 1698582 CoalescedMouseMoveFlusher::GetRefreshDriver method can be simplified.r?sefeng → Bug 1698582 - Simplify the CoalescedMouseMoveFlusher::GetRefreshDriver method.r?sefeng
Pushed by sefeng@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ac03b52f345e
Simplify the CoalescedMouseMoveFlusher::GetRefreshDriver method.r=sefeng
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: