зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
adef3131d6
Коммит
e41e0f1900
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче