diff options
Diffstat (limited to 'embed/mozilla/GlobalHistory.cpp')
-rw-r--r-- | embed/mozilla/GlobalHistory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embed/mozilla/GlobalHistory.cpp b/embed/mozilla/GlobalHistory.cpp index a612fb3b6..b8b7a19e5 100644 --- a/embed/mozilla/GlobalHistory.cpp +++ b/embed/mozilla/GlobalHistory.cpp @@ -111,7 +111,7 @@ NS_IMETHODIMP MozGlobalHistory::IsVisited (const char *aURL, PRBool *_retval) NS_IMETHODIMP MozGlobalHistory::SetPageTitle (const char *aURL, const PRUnichar *aTitle) { - const nsACString &title = NS_ConvertUCS2toUTF8 (aTitle); + const nsACString &title = NS_ConvertUTF16toUTF8 (aTitle); ephy_history_set_page_title (mGlobalHistory, aURL, PromiseFlatCString(title).get()); @@ -159,7 +159,7 @@ NS_IMETHODIMP MozGlobalHistory::GetLastPageVisited(char **aLastPageVisited) } #endif -#if MOZILLA_SNAPSHOT > 8 && MOZILLA_SNAPSHOT < 14 +#if MOZILLA_SNAPSHOT < 14 NS_IMETHODIMP MozGlobalHistory::SetLastPageVisited(const char *aLastPageVisited) { return NS_ERROR_NOT_IMPLEMENTED; |