Closed Bug 1878433 Opened 4 months ago Closed 4 months ago

Clean up in nsIFrame and nsCanvasFrame

Categories

(Core :: Layout, task)

task

Tracking

()

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: TYLin, Assigned: TYLin)

Details

Attachments

(3 files)

See the commit message for detail.

The three #defines are not used elsewhere.

Assignee: nobody → aethanyc
Status: NEW → ASSIGNED

The code no longer compiles because most of the functions such as
EventStateManager::GetFocusedContent(), PresContext::GetContainer(), and
nsIDocShell::GetHasFocus() are gone.

Also, remove the following because they are not used.

  • #include "AccessibleCaretEventHub.h"
  • #include "nsPrintfCString.h"
Pushed by aethanyc@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/479cc28c3859
Part 1 - Remove unused #defines in nsIFrame.cpp. r=dholbert
https://hg.mozilla.org/integration/autoland/rev/ebbd87b3190b
Part 2 - Remove broken code within DEBUG_CANVAS_FOCUS define. r=dholbert
https://hg.mozilla.org/integration/autoland/rev/6e69ec3ca9b3
Part 3 - Sort #includes in nsCanvasFrame.cpp, and removed some unused ones. r=dholbert
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: