adding call to new api for initing selection
git-svn-id: svn://10.0.0.236/trunk@67847 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1098,7 +1098,7 @@ PresShell::Init(nsIDocument* aDocument,
|
||||
return result;
|
||||
}
|
||||
|
||||
result = mSelection->Init((nsIFocusTracker *) this);
|
||||
result = mSelection->Init((nsIFocusTracker *) this, nsnull);
|
||||
if (!NS_SUCCEEDED(result))
|
||||
return result;
|
||||
// Important: this has to happen after the selection has been set up
|
||||
|
||||
@@ -1098,7 +1098,7 @@ PresShell::Init(nsIDocument* aDocument,
|
||||
return result;
|
||||
}
|
||||
|
||||
result = mSelection->Init((nsIFocusTracker *) this);
|
||||
result = mSelection->Init((nsIFocusTracker *) this, nsnull);
|
||||
if (!NS_SUCCEEDED(result))
|
||||
return result;
|
||||
// Important: this has to happen after the selection has been set up
|
||||
|
||||
Reference in New Issue
Block a user