diff --git a/layout/base/public/nsIFrame.h b/layout/base/public/nsIFrame.h index a3a2d1c4842..d8c30e35637 100644 --- a/layout/base/public/nsIFrame.h +++ b/layout/base/public/nsIFrame.h @@ -82,7 +82,7 @@ enum nsReflowReason { */ struct nsReflowState { nsReflowReason reason; // the reason for the reflow - // nsReflowCommand& reflowCommand; // only used for incremental changes + nsReflowCommand* reflowCommand; // only used for incremental changes nsSize maxSize; // the available space in which to reflow }; diff --git a/layout/generic/nsIFrame.h b/layout/generic/nsIFrame.h index a3a2d1c4842..d8c30e35637 100644 --- a/layout/generic/nsIFrame.h +++ b/layout/generic/nsIFrame.h @@ -82,7 +82,7 @@ enum nsReflowReason { */ struct nsReflowState { nsReflowReason reason; // the reason for the reflow - // nsReflowCommand& reflowCommand; // only used for incremental changes + nsReflowCommand* reflowCommand; // only used for incremental changes nsSize maxSize; // the available space in which to reflow };