if (display->IsBlockLevel() && IsScrollable(frame, display)) {
if (display->IsBlockLevel() && IsScrollable(display)) {
HTMLStyleSheetImpl::GetFrameFor(nsIPresShell* aPresShell, nsIContent* aContent){  nsIFrame* frame = aPresShell->FindFrameWithContent(aContent);  if (nsnull != frame) {    // If the primary frame is a scroll frame, then get the scrolled frame.    // That's the frame that gets the reflow command    const nsStyleDisplay* display;    frame->GetStyleData(eStyleStruct_Display, (const nsStyleStruct*&)display);    if (display->IsBlockLevel() && IsScrollable(frame, display)) {      frame->FirstChild(frame);    }  }  return frame;}