This segment is quoted from NotifyInsert(...) in nsIHTMLContentSink.cpp:

3020     MOZ_AUTO_DOC_UPDATE(mDocument, UPDATE_CONTENT_MODEL, 
!mBeganUpdate);
3021     nsNodeUtils::ContentInserted(NODE_FROM(aContent, mDocument),
3022                                  aChildContent, aIndexInContainer);
3023     mLastNotificationTime = PR_Now();
3024   }

I just wonder why does there require a NODE_FROM the inline function? 
What does it really mean in this situation?     

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

Reply via email to