diff --git a/mozilla/layout/base/nsPresShell.cpp b/mozilla/layout/base/nsPresShell.cpp index 75319bb4309..e1cd0aa1119 100644 --- a/mozilla/layout/base/nsPresShell.cpp +++ b/mozilla/layout/base/nsPresShell.cpp @@ -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 diff --git a/mozilla/layout/html/base/src/nsPresShell.cpp b/mozilla/layout/html/base/src/nsPresShell.cpp index 75319bb4309..e1cd0aa1119 100644 --- a/mozilla/layout/html/base/src/nsPresShell.cpp +++ b/mozilla/layout/html/base/src/nsPresShell.cpp @@ -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