Logo Search packages:      
Sourcecode: xulrunner version File versions  Download package

static nsIFrame* nsPlaceholderFrame::GetRealFrameFor ( nsIFrame aFrame  )  [inline, static]

Returns:
the out-of-flow for aFrame if aFrame is a placeholder; otherwise aFrame

Definition at line 107 of file nsPlaceholderFrame.h.

References GetRealFrameForPlaceholder(), and nsIFrame::GetType().

                                                     {
    NS_PRECONDITION(aFrame, "Must have a frame to work with");
    if (aFrame->GetType() == nsLayoutAtoms::placeholderFrame) {
      return GetRealFrameForPlaceholder(aFrame);
    }
    return aFrame;
  }


Generated by  Doxygen 1.6.0   Back to index