From a5927e6ebd0ff44f06f19e70429ca3d89df18c63 Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Tue, 30 Jan 2018 14:48:27 -0500 Subject: [PATCH] Bug 1428610 part 8. Remove unnecessary Item() method. r=emilio MozReview-Commit-ID: 6MQXVA0toiG --- layout/style/nsICSSDeclaration.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/layout/style/nsICSSDeclaration.h b/layout/style/nsICSSDeclaration.h index 5ca4675633bc..dd46b58d7849 100644 --- a/layout/style/nsICSSDeclaration.h +++ b/layout/style/nsICSSDeclaration.h @@ -77,9 +77,6 @@ public: mozilla::ErrorResult& rv) = 0; virtual void GetCssText(nsAString& aString) = 0; virtual uint32_t Length() = 0; - void Item(uint32_t aIndex, nsString& aPropName) { - Item(aIndex, static_cast(aPropName)); - } // The actual implementation of the Item method and the WebIDL indexed getter virtual void IndexedGetter(uint32_t aIndex, bool& aFound, nsAString& aPropName) = 0;