Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI

to it.  Bug 313343, r=sicking, sr=jst
This commit is contained in:
bzbarsky%mit.edu 2006-05-17 02:38:38 +00:00
Родитель adef3131d6
Коммит e41e0f1900
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -56,6 +56,7 @@
#include "nsIDocument.h"
#include "nsIServiceManager.h"
#include "nsITreeColumns.h"
#include "nsIStyledContent.h"
////////////////////////////////////////////////////////////////////////
// inDOMViewNode
@ -646,7 +647,8 @@ NS_IMPL_NSIDOCUMENTOBSERVER_STATE_STUB(inDOMView)
NS_IMPL_NSIDOCUMENTOBSERVER_STYLE_STUB(inDOMView)
void
inDOMView::AttributeChanged(nsIDocument *aDocument, nsIContent* aContent, PRInt32 aNameSpaceID,
inDOMView::AttributeChanged(nsIDocument *aDocument,
nsIStyledContent* aContent, PRInt32 aNameSpaceID,
nsIAtom* aAttribute, PRInt32 aModType)
{
if (!mTree) {