Skip to content
Snippets Groups Projects
Commit f4670943 authored by Emilio Cobos Álvarez's avatar Emilio Cobos Álvarez
Browse files

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

MozReview-Commit-ID: IHhceyG4oDz
parent c7b665bc
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment