Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst

This commit is contained in:
Olli Pettay
2011-10-18 13:53:36 +03:00
parent 499fc23560
commit 1cdbb1b884
145 changed files with 428 additions and 428 deletions

View File

@@ -502,7 +502,7 @@ nsHtml5Parser::ParseHtml5Fragment(const nsAString& aSourceBuffer,
{
NS_ENSURE_TRUE(aSourceBuffer.Length() <= PR_INT32_MAX,
NS_ERROR_OUT_OF_MEMORY);
nsIDocument* doc = aTargetNode->GetOwnerDoc();
nsIDocument* doc = aTargetNode->OwnerDoc();
NS_ENSURE_TRUE(doc, NS_ERROR_NOT_AVAILABLE);
nsIURI* uri = doc->GetDocumentURI();