BookmarkImportFrame-notonstack
author Benjamin Smedberg <benjamin@smedbergs.us>
Sat, 26 Jul 2008 22:49:39 -0400
changeset 167 a4da40849f5436e629c5732f4368c6c48189637f
parent 139 23a95f97c6d2d9474d19bd1c95bdbdf581ab59e1
permissions -rw-r--r--
State as of now

diff --git a/browser/components/places/src/nsPlacesImportExportService.cpp b/browser/components/places/src/nsPlacesImportExportService.cpp
--- a/browser/components/places/src/nsPlacesImportExportService.cpp
+++ b/browser/components/places/src/nsPlacesImportExportService.cpp
@@ -480,7 +480,7 @@ BookmarkContentSink::Init(PRBool aAllowR
     menuRoot = aFolder;
     mFolderSpecified = true;
   }
-  if (!mFrames.AppendElement(BookmarkImportFrame(menuRoot)))
+  if (!mFrames.AppendElement(menuRoot))
     return NS_ERROR_OUT_OF_MEMORY;
 
   return NS_OK;
@@ -1237,7 +1237,7 @@ BookmarkContentSink::NewFrame()
 
   frame.mPreviousId = ourID;
 
-  if (!mFrames.AppendElement(BookmarkImportFrame(ourID)))
+  if (!mFrames.AppendElement(ourID))
     return NS_ERROR_OUT_OF_MEMORY;
 
   return NS_OK;