diff options
Diffstat (limited to 'embed/mozilla/EphyBrowser.cpp')
-rw-r--r-- | embed/mozilla/EphyBrowser.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/embed/mozilla/EphyBrowser.cpp b/embed/mozilla/EphyBrowser.cpp index 102607e4e..9dbafbbd7 100644 --- a/embed/mozilla/EphyBrowser.cpp +++ b/embed/mozilla/EphyBrowser.cpp @@ -490,23 +490,6 @@ nsresult EphyBrowser::Find (PRBool backwards, return finder->FindNext(didFind); } -nsresult EphyBrowser::LoadDocument(nsISupports *aPageDescriptor, - PRUint32 aDisplayType) -{ - nsresult rv; - - g_return_val_if_fail (mWebBrowser, NS_ERROR_FAILURE); - - nsCOMPtr<nsIDocShell> ds; - ds = do_GetInterface (mWebBrowser); - if (!ds) return NS_ERROR_FAILURE; - - nsCOMPtr<nsIWebPageDescriptor> wpd = do_QueryInterface(ds, &rv); - if (!wpd || !NS_SUCCEEDED(rv)) return NS_ERROR_FAILURE; - - return wpd->LoadPage(aPageDescriptor, aDisplayType); -} - nsresult EphyBrowser::GetPageDescriptor(nsISupports **aPageDescriptor) { nsresult rv; |