mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-02 03:49:37 +00:00
Fix a couple build warnings.
This commit is contained in:
parent
5c5a96d0bb
commit
8f458e9693
@ -77,7 +77,7 @@ NS_NewSliderFrame ( nsIFrame** aNewFrame)
|
||||
} // NS_NewSliderFrame
|
||||
|
||||
nsSliderFrame::nsSliderFrame()
|
||||
:mScrollbarListener(nsnull), mCurPos(0)
|
||||
: mCurPos(0), mScrollbarListener(nsnull)
|
||||
{
|
||||
}
|
||||
|
||||
@ -198,8 +198,8 @@ nsSliderFrame::AttributeChanged(nsIPresContext* aPresContext,
|
||||
aPresContext->GetShell(getter_AddRefs(shell));
|
||||
|
||||
nsCOMPtr<nsIReflowCommand> reflowCmd;
|
||||
nsresult rv = NS_NewHTMLReflowCommand(getter_AddRefs(reflowCmd), this,
|
||||
nsIReflowCommand::StyleChanged);
|
||||
rv = NS_NewHTMLReflowCommand(getter_AddRefs(reflowCmd), this,
|
||||
nsIReflowCommand::StyleChanged);
|
||||
if (NS_SUCCEEDED(rv))
|
||||
shell->AppendReflowCommand(reflowCmd);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user