On Fri, Feb 15, 2013 at 6:59 PM, L. David Baron <[email protected]> wrote:

> So I was just using sed to write a (long-overdue) patch to rename
> nsIFrame::GetStyleContext to nsIFrame::StyleContext to follow our
> convention that getters that can't return null don't have "Get" in
> the name.
>
> While I was doing that, it occurred to me that perhaps, instead of
> nsIFrame::StyleContext(), it should just be nsIFrame::Style().
>

They sound about the same level of goodness to me.

Are you going to rename GetStyleBackground as well? To StyleBackground() or
BackgroundStyle()?

Rob
-- 
Wrfhf pnyyrq gurz gbtrgure naq fnvq, “Lbh xabj gung gur ehyref bs gur
Tragvyrf ybeq vg bire gurz, naq gurve uvtu bssvpvnyf rkrepvfr nhgubevgl
bire gurz. Abg fb jvgu lbh. Vafgrnq, jubrire jnagf gb orpbzr terng nzbat
lbh zhfg or lbhe freinag, naq jubrire jnagf gb or svefg zhfg or lbhe fynir
— whfg nf gur Fba bs Zna qvq abg pbzr gb or freirq, ohg gb freir, naq gb
tvir uvf yvsr nf n enafbz sbe znal.” [Znggurj 20:25-28]
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to