Bug 1218456 - Document::GetContainer shouldn't be virtual. r=smaug

It's never overridden. Also chances are we should remove it and just use
GetDocShell().

Differential Revision: https://phabricator.services.mozilla.com/D37405

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Emilio Cobos Álvarez 2019-07-09 16:17:38 +00:00
parent d5db3842a0
commit 0dd64968c6

View File

@ -2339,7 +2339,7 @@ class Document : public nsINode,
/**
* Get the container (docshell) for this document.
*/
virtual nsISupports* GetContainer() const;
nsISupports* GetContainer() const;
/**
* Get the container's load context for this document.