In https://bugzilla.mozilla.org/show_bug.cgi?id=1353187 I just
landed a patch that gives frame properties (which act like extended
member variables) the semantics of member variables, so that if you
have a |const nsIFrame*| you can still Get a property, but you can't
Set or Remove it.

This required a pretty small number of adjustments to existing code.

(I did this so that the primary patch in that bug wouldn't need to
const_cast in order to set a frame state bit when a frame has
properties, but it seemed like a good thing to do anyway.)

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                          https://www.mozilla.org/   𝄂
             Before I built a wall I'd ask to know
             What I was walling in or walling out,
             And to whom I was like to give offense.
               - Robert Frost, Mending Wall (1914)

Attachment: signature.asc
Description: PGP signature

_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to