diff options
Diffstat (limited to 'dom/base/nsIDocument.h')
-rw-r--r-- | dom/base/nsIDocument.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dom/base/nsIDocument.h b/dom/base/nsIDocument.h index 297a207fc..5ccb18f78 100644 --- a/dom/base/nsIDocument.h +++ b/dom/base/nsIDocument.h @@ -1153,11 +1153,13 @@ public: * sheets for this document, returns the index that aSheet should * be inserted at to maintain document ordering. * + * Type T has to cast to StyleSheet*. + * * Defined in nsIDocumentInlines.h. */ template<typename T> - size_t FindDocStyleSheetInsertionPoint(const nsTArray<RefPtr<T>>& aDocSheets, - T* aSheet); + size_t FindDocStyleSheetInsertionPoint(const nsTArray<T>& aDocSheets, + mozilla::StyleSheet* aSheet); /** * Get this document's CSSLoader. This is guaranteed to not return null. |