Hi,
I'm trying to get rid of nsIPresShell. nsIPresShell.h is anyway included
by mozilla/PresShell.h. So, even if you use only nsIPresShell newly,
please include mozilla/PresShell.h instead.
FYI: Currently, Document::GetPresShell(), nsPresContext::GetPresShell(),
nsPresContext::PresShell(), nsFrameSelection::GetPresShell(),
Selection::GetPresShell(), KeyframeEffect::GetPresShell(),
EditorBase::GetPresShell() and EditorEventListener::GetPresShell()
return mozilla::PresShell* rather than nsIPresShell*.
So, when you use them, you can now use PresShell* or RefPtr<PresShell>
for storing the result. I'll keep changing other GetPresShell() methods
too when I have time, but of course, you're welcome if you do that
instead of me ;-)
Regards,
--
Masayuki Nakano <masay...@d-toybox.com>
Software Engineer, Mozilla
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform