diff options
Diffstat (limited to 'embed/mozilla/GlobalHistory.cpp')
-rw-r--r-- | embed/mozilla/GlobalHistory.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/embed/mozilla/GlobalHistory.cpp b/embed/mozilla/GlobalHistory.cpp index dc836dc97..a612fb3b6 100644 --- a/embed/mozilla/GlobalHistory.cpp +++ b/embed/mozilla/GlobalHistory.cpp @@ -145,11 +145,19 @@ NS_IMETHODIMP MozGlobalHistory::RemoveAllPages() return NS_ERROR_NOT_IMPLEMENTED; } +#if MOZILLA_SNAPSHOT > 14 +/* readonly attribute AUTF8String lastPageVisited; */ +NS_IMETHODIMP MozGlobalHistory::GetLastPageVisited(nsACString & aLastPageVisited) +{ + return NS_ERROR_NOT_IMPLEMENTED; +} +#else /* readonly attribute string lastPageVisited; */ NS_IMETHODIMP MozGlobalHistory::GetLastPageVisited(char **aLastPageVisited) { return NS_ERROR_NOT_IMPLEMENTED; } +#endif #if MOZILLA_SNAPSHOT > 8 && MOZILLA_SNAPSHOT < 14 NS_IMETHODIMP MozGlobalHistory::SetLastPageVisited(const char *aLastPageVisited) |