Bug 930281 - Use nsINode instead of nsIContent. r=smaug.
This commit is contained in:
@@ -240,7 +240,7 @@ nsHtml5TreeOperation::Perform(nsHtml5TreeOpExecutor* aBuilder,
|
||||
case eTreeOpDetach: {
|
||||
nsIContent* node = *(mOne.node);
|
||||
aBuilder->FlushPendingAppendNotifications();
|
||||
nsCOMPtr<nsIContent> parent = node->GetParent();
|
||||
nsCOMPtr<nsINode> parent = node->GetParentNode();
|
||||
if (parent) {
|
||||
nsHtml5OtherDocUpdate update(parent->OwnerDoc(),
|
||||
aBuilder->GetDocument());
|
||||
|
||||
Reference in New Issue
Block a user