From 109bd88bea4a90ea58bb8bf22bf3d0251221aafb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Thu, 5 Oct 2017 01:51:38 +0200 Subject: [PATCH] Bug 1404897: followup: Fixup documentation of nsINode::WithSelectorList. r=me DONTBUILD since it's comment-only. MozReview-Commit-ID: 4UOdTuQRx0o --- dom/base/nsINode.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dom/base/nsINode.h b/dom/base/nsINode.h index 1d3332cf7360..7c4ef262f1c9 100644 --- a/dom/base/nsINode.h +++ b/dom/base/nsINode.h @@ -2087,12 +2087,12 @@ protected: mozilla::ErrorResult& aRv); /** - * Parse the given selector string into a SelectorList. + * Parse the given selector string a SelectorList, depending on whether we're + * in a Servo or Gecko-backed document, and execute either aServoFunctor or + * aGeckoFunctor on it. * - * A null return value with a non-failing aRv means the string only - * contained pseudo-element selectors. - * - * A failing aRv means the string was not a valid selector. + * Note that the selector list is owned by the owner doc's selector cache + * which can get expired, so you shouldn't keep it around for long. */ template Ret WithSelectorList(