Closed Bug 376042 Opened 17 years ago Closed 17 years ago

rename nsIFrame::GetPresContext to PresContext

Categories

(Core :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: taras.mozilla, Assigned: taras.mozilla)

Details

Attachments

(1 file)

Product: Firefox → Core
QA Contact: general → general
Hardware: PC → All
Checked in.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
taras, I was wondering whether we could fix up situations like:

  foo->GetPresShell()->Foo(barArg,
                           bazArg);

so they don't end up like:

  foo->PresShell()->Foo(barArg,
                           bazArg);

and instead up as:

  foo->PresShell()->Foo(barArg,
                        bazArg);

?
Boris,
Right now I'm pushing the limits of what oink can do without producing extremely ugly source code.
I think what you want is a good pretty printer for C++, with proper indentation. That's already on the TODO list, but there are a few higher priority items before that.
Sure.  It's not urgent; I just ended up doing a lot of indent-fixing when I had to touch some presshell functions recently, so I was wondering whether we could have avoided it easily.  If not, then so be it.
You need to log in before you can comment on or make changes to this bug.