From 849dca7792dccbee04eb44ad9bcded46635ee03a Mon Sep 17 00:00:00 2001 From: "mjudge%netscape.com" Date: Tue, 2 May 2000 03:45:01 +0000 Subject: [PATCH] adding call to new api for initing selection git-svn-id: svn://10.0.0.236/trunk@67847 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/base/nsPresShell.cpp | 2 +- mozilla/layout/html/base/src/nsPresShell.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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