From f4670943e90b602f3486291f30b4ef4686683d9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= <emilio@crisal.io> Date: Sat, 5 Aug 2017 11:42:08 +0200 Subject: [PATCH] Bug 1382568: followup: Fix comment wording. r=me MozReview-Commit-ID: IHhceyG4oDz --- dom/html/nsGenericHTMLElement.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dom/html/nsGenericHTMLElement.cpp b/dom/html/nsGenericHTMLElement.cpp index e1964fe502404..232930739e4f3 100644 --- a/dom/html/nsGenericHTMLElement.cpp +++ b/dom/html/nsGenericHTMLElement.cpp @@ -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); -- GitLab