Commit 0548da4b authored by Mats Palmgren's avatar Mats Palmgren
Browse files

Remove unused methods. b=516976 r=bzbarsky

parent 2902fa95
Loading
Loading
Loading
Loading
+0 −16
Original line number Diff line number Diff line
@@ -93,13 +93,6 @@ nsFrameList::SetFrames(nsIFrame* aFrameList)
  mLastChild = nsLayoutUtils::GetLastSibling(mFirstChild);
}

void
nsFrameList::AppendFrames(nsIFrame* aParent, nsIFrame* aFrameList)
{
  nsFrameList temp(aFrameList, nsLayoutUtils::GetLastSibling(aFrameList));
  AppendFrames(aParent, temp);
}

void
nsFrameList::RemoveFrame(nsIFrame* aFrame, nsIFrame* aPrevSiblingHint)
{
@@ -187,15 +180,6 @@ nsFrameList::DestroyFrameIfPresent(nsIFrame* aFrame)
  return PR_FALSE;
}

void
nsFrameList::InsertFrames(nsIFrame* aParent,
                          nsIFrame* aPrevSibling,
                          nsIFrame* aFrameList)
{
  nsFrameList temp(aFrameList, nsLayoutUtils::GetLastSibling(aFrameList));
  InsertFrames(aParent, aPrevSibling, temp);
}

nsFrameList::Slice
nsFrameList::InsertFrames(nsIFrame* aParent, nsIFrame* aPrevSibling,
                          nsFrameList& aFrameList)
+0 −15
Original line number Diff line number Diff line
@@ -102,12 +102,6 @@ public:

  class Slice;

  /**
   * Append frames from aFrameList to this list. If aParent
   * is not null, reparents the newly-added frames.
   */
  void AppendFrames(nsIFrame* aParent, nsIFrame* aFrameList);

  /**
   * Append aFrameList to this list.  If aParent is not null,
   * reparents the newly added frames.  Clears out aFrameList and
@@ -184,15 +178,6 @@ public:
  }


  /**
   * Insert aFrameList right after aPrevSibling, or prepend it to this
   * list if aPrevSibling is null. If aParent is not null, also
   * reparents newly-added frames.
   */
  void InsertFrames(nsIFrame* aParent,
                    nsIFrame* aPrevSibling,
                    nsIFrame* aFrameList);

  /**
   * Inserts aFrameList into this list after aPrevSibling (at the beginning if
   * aPrevSibling is null).  If aParent is not null, reparents the newly added