mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +00:00
Ok, undo other attempt, apparently all it took was to move this after the function it references.
This commit is contained in:
parent
411bcac977
commit
d6ac48d2b7
@ -170,9 +170,7 @@ public:
|
||||
*/
|
||||
nsIDocument *GetDocument() const
|
||||
{
|
||||
// return GetCurrentDoc();
|
||||
// attempt to fix 2.95.2 bustage by inlining GetCurrentDoc()'s body
|
||||
return IsInDoc() ? GetOwnerDoc() : nsnull;
|
||||
return GetCurrentDoc();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user