Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi.
This commit is contained in:
@@ -598,9 +598,9 @@ nsHTMLButtonControlFrame::Reflow(nsIPresContext* aPresContext,
|
||||
if (this == targetFrame) {
|
||||
Invalidate(aPresContext, nsRect(0,0,mRect.width,mRect.height), PR_FALSE);
|
||||
|
||||
nsIReflowCommand::ReflowType reflowType;
|
||||
nsReflowType reflowType;
|
||||
aReflowState.reflowCommand->GetType(reflowType);
|
||||
if (nsIReflowCommand::StyleChanged == reflowType) {
|
||||
if (eReflowType_StyleChanged == reflowType) {
|
||||
reflowState.reason = eReflowReason_StyleChange;
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user