Bug 1382568: followup: Fix comment wording. r=me

MozReview-Commit-ID: IHhceyG4oDz
This commit is contained in:
Emilio Cobos Álvarez 2017-08-05 11:42:08 +02:00
Родитель c7b665bcf3
Коммит f4670943e9
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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);