mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 10:43:24 +00:00
r=peterv, sr=bzbarsky Fix from Josh Aas - remove unused variables in nsSelection.cpp
This commit is contained in:
parent
474417aebf
commit
01782c41bc
@ -3087,7 +3087,6 @@ nsSelection::CommonPageMove(PRBool aForward,
|
||||
const nsIView* clipView;
|
||||
//get the frame from the scrollable view
|
||||
|
||||
void* clientData;
|
||||
nsIFrame* mainframe = nsnull;
|
||||
|
||||
// The view's client data points back to its frame
|
||||
@ -3159,7 +3158,6 @@ nsSelection::CommonPageMove(PRBool aForward,
|
||||
|
||||
if (caretView)
|
||||
{
|
||||
nscoord x,y;
|
||||
while (caretView != scrolledView)
|
||||
{
|
||||
caretPos += caretView->GetPosition();
|
||||
|
@ -3087,7 +3087,6 @@ nsSelection::CommonPageMove(PRBool aForward,
|
||||
const nsIView* clipView;
|
||||
//get the frame from the scrollable view
|
||||
|
||||
void* clientData;
|
||||
nsIFrame* mainframe = nsnull;
|
||||
|
||||
// The view's client data points back to its frame
|
||||
@ -3159,7 +3158,6 @@ nsSelection::CommonPageMove(PRBool aForward,
|
||||
|
||||
if (caretView)
|
||||
{
|
||||
nscoord x,y;
|
||||
while (caretView != scrolledView)
|
||||
{
|
||||
caretPos += caretView->GetPosition();
|
||||
|
Loading…
Reference in New Issue
Block a user