mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 12:55:46 +00:00
Fix compile error on HPUX by using inline getter instead of protected member.
Bug 278390, patch suggested by Bertram Franz <bertramf@gmx.net>, r+sr=jst
This commit is contained in:
parent
34d6553453
commit
b6d7cff558
@ -101,7 +101,7 @@ nsDOMWindowUtils::GetDocumentMetadata(const nsAString& aName,
|
||||
nsAString& aValue)
|
||||
{
|
||||
if (mWindow) {
|
||||
nsCOMPtr<nsIDocument> doc(do_QueryInterface(mWindow->mDocument));
|
||||
nsCOMPtr<nsIDocument> doc(do_QueryInterface(mWindow->GetExtantDocument()));
|
||||
if (doc) {
|
||||
nsCOMPtr<nsIAtom> name = do_GetAtom(aName);
|
||||
doc->GetHeaderData(name, aValue);
|
||||
|
Loading…
Reference in New Issue
Block a user