scoping local variables cleans up warnings and probably stops someone's compiler from hurting itself
git-svn-id: svn://10.0.0.236/trunk@57757 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -474,13 +474,14 @@ nsWebShellWindow::HandleEvent(nsGUIEvent *aEvent)
|
||||
* For size events, the WebShell must be resized to fill the entire
|
||||
* client area of the window...
|
||||
*/
|
||||
case NS_MOVE:
|
||||
case NS_MOVE: {
|
||||
void* data;
|
||||
nsWebShellWindow *win;
|
||||
aEvent->widget->GetClientData(data);
|
||||
win = NS_REINTERPRET_CAST(nsWebShellWindow *, data);
|
||||
win->StoreBoundsToXUL(PR_TRUE, PR_FALSE);
|
||||
break;
|
||||
}
|
||||
case NS_SIZE: {
|
||||
void* data;
|
||||
nsWebShellWindow *win;
|
||||
|
||||
Reference in New Issue
Block a user