diff --git a/mozilla/browser/components/places/src/nsPlacesImportExportService.cpp b/mozilla/browser/components/places/src/nsPlacesImportExportService.cpp index 2649b74d011..9025bf5d9db 100644 --- a/mozilla/browser/components/places/src/nsPlacesImportExportService.cpp +++ b/mozilla/browser/components/places/src/nsPlacesImportExportService.cpp @@ -329,8 +329,6 @@ nsPlacesImportExportService::~nsPlacesImportExportService() class BookmarkContentSink : public nsIHTMLContentSink { public: - BookmarkContentSink(); - nsresult Init(PRBool aAllowRootChanges, nsINavBookmarksService* bookmarkService, PRInt64 aFolder, @@ -438,10 +436,6 @@ protected: #endif }; -BookmarkContentSink::BookmarkContentSink() : mFrames(16) -{ -} - // BookmarkContentSink::Init // // Note that the bookmark service pointer is passed in. We can not create @@ -1228,11 +1222,9 @@ BookmarkContentSink::NewFrame() // don't clear last-modified, in case there's a description } - frame.mPreviousId = ourID; - if (!mFrames.AppendElement(BookmarkImportFrame(ourID))) return NS_ERROR_OUT_OF_MEMORY; - + frame.mPreviousId = ourID; return NS_OK; }