зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1382568: followup: Fix comment wording. r=me
MozReview-Commit-ID: IHhceyG4oDz
This commit is contained in:
Родитель
c7b665bcf3
Коммит
f4670943e9
|
@ -3060,8 +3060,8 @@ nsGenericHTMLElement::GetInnerText(mozilla::dom::DOMString& aValue,
|
|||
{
|
||||
if (!GetPrimaryFrame(FlushType::Layout)) {
|
||||
nsIPresShell* presShell = nsComputedDOMStyle::GetPresShellForContent(this);
|
||||
// NOTE(emilio): We need to check the presshell is styled in order to ensure
|
||||
// the document is styled.
|
||||
// NOTE(emilio): We need to check the presshell is initialized in order to
|
||||
// ensure the document is styled.
|
||||
if (!presShell || !presShell->DidInitialize() ||
|
||||
IsOrHasAncestorWithDisplayNone(this, presShell)) {
|
||||
GetTextContentInternal(aValue, aError);
|
||||
|
|
Загрузка…
Ссылка в новой задаче