Bug 1398520 part 4 - Rename nsFormControlFrame to nsCheckboxRadioFrame. r=dholbert

MozReview-Commit-ID: 9nwikVD1cd9
This commit is contained in:
Mats Palmgren
2017-09-27 14:12:00 +02:00
parent d9dc81f295
commit feaa9c8873
21 changed files with 88 additions and 88 deletions

View File

@@ -8,7 +8,7 @@
#include "nsPresContext.h"
#include "nsGkAtoms.h"
#include "nsStyleConsts.h"
#include "nsFormControlFrame.h"
#include "nsCheckboxRadioFrame.h"
#include "nsLayoutUtils.h"
#include "mozilla/MouseEvents.h"
#include "nsIContent.h"
@@ -70,7 +70,7 @@ void
nsImageControlFrame::DestroyFrom(nsIFrame* aDestructRoot)
{
if (!GetPrevInFlow()) {
nsFormControlFrame::RegUnRegAccessKey(this, false);
nsCheckboxRadioFrame::RegUnRegAccessKey(this, false);
}
nsImageFrame::DestroyFrom(aDestructRoot);
}
@@ -125,7 +125,7 @@ nsImageControlFrame::Reflow(nsPresContext* aPresContext,
DISPLAY_REFLOW(aPresContext, this, aReflowInput, aDesiredSize, aStatus);
MOZ_ASSERT(aStatus.IsEmpty(), "Caller should pass a fresh reflow status!");
if (!GetPrevInFlow() && (mState & NS_FRAME_FIRST_REFLOW)) {
nsFormControlFrame::RegUnRegAccessKey(this, true);
nsCheckboxRadioFrame::RegUnRegAccessKey(this, true);
}
return nsImageFrame::Reflow(aPresContext, aDesiredSize, aReflowInput, aStatus);
}