mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-22 10:22:05 +00:00
Changes to use nsIWebNavigation instead of the old methods on nsIWebShell. This should fix the build.
This commit is contained in:
parent
1b9397ca74
commit
823b7f6458
@ -19,6 +19,7 @@
|
||||
#include "nsRepository.h"
|
||||
#include "nsIBaseWindow.h"
|
||||
#include "nsIWebShell.h"
|
||||
#include "nsIWebNavigation.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsIIOService.h"
|
||||
#include "nsIServiceManager.h"
|
||||
@ -163,13 +164,15 @@ GtkMozillaContainer::LoadURL(const gchar *url)
|
||||
void
|
||||
GtkMozillaContainer::Stop()
|
||||
{
|
||||
mWebShell->Stop();
|
||||
nsCOMPtr<nsIWebNavigation> webNav(do_QueryInterface(mWebShell));
|
||||
webNav->Stop();
|
||||
}
|
||||
|
||||
void
|
||||
GtkMozillaContainer::Reload(GtkMozillaReloadType type)
|
||||
{
|
||||
mWebShell->Reload((nsLoadFlags)type);
|
||||
nsCOMPtr<nsIWebNavigation> webNav(do_QueryInterface(mWebShell));
|
||||
webNav->Reload(nsIWebNavigation::loadNormal);
|
||||
}
|
||||
|
||||
gint
|
||||
|
Loading…
x
Reference in New Issue
Block a user