From 98009bde06ddfd621ff7a2dec4430f7039fbb065 Mon Sep 17 00:00:00 2001 From: Jared Wein Date: Thu, 20 Aug 2020 08:56:10 +0000 Subject: [PATCH] Bug 1659970 - Fix call to renamed getChildCountForFolder method. r=Gijs Differential Revision: https://phabricator.services.mozilla.com/D87684 --- browser/components/places/PlacesUIUtils.jsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/components/places/PlacesUIUtils.jsm b/browser/components/places/PlacesUIUtils.jsm index 0db76659ca29..adca533fb4fc 100644 --- a/browser/components/places/PlacesUIUtils.jsm +++ b/browser/components/places/PlacesUIUtils.jsm @@ -1192,7 +1192,7 @@ var PlacesUIUtils = { if ( aForceVisible || toolbarIsCustomized || - PlacesUtils.getToolbarFolderCount(PlacesUtils.bookmarks.toolbarGuid) > + PlacesUtils.getChildCountForFolder(PlacesUtils.bookmarks.toolbarGuid) > this.NUM_TOOLBAR_BOOKMARKS_TO_UNHIDE ) { Services.obs.notifyObservers(