mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-25 16:47:29 +09:00
Un-deprecate nsNavHistory::GetPageTitle and nsNavBookmarks::GetURIForKeyword
This commit is contained in:
parent
c2013ffce4
commit
f0780e4052
2 changed files with 0 additions and 4 deletions
|
|
@ -2518,8 +2518,6 @@ nsNavBookmarks::GetURIForKeyword(const nsAString& aUserCasedKeyword,
|
||||||
NS_ENSURE_TRUE(!aUserCasedKeyword.IsEmpty(), NS_ERROR_INVALID_ARG);
|
NS_ENSURE_TRUE(!aUserCasedKeyword.IsEmpty(), NS_ERROR_INVALID_ARG);
|
||||||
*aURI = nullptr;
|
*aURI = nullptr;
|
||||||
|
|
||||||
PLACES_WARN_DEPRECATED();
|
|
||||||
|
|
||||||
// Shortcuts are always lowercased internally.
|
// Shortcuts are always lowercased internally.
|
||||||
nsAutoString keyword(aUserCasedKeyword);
|
nsAutoString keyword(aUserCasedKeyword);
|
||||||
ToLowerCase(keyword);
|
ToLowerCase(keyword);
|
||||||
|
|
|
||||||
|
|
@ -2796,8 +2796,6 @@ nsNavHistory::MarkPageAsFollowedLink(nsIURI *aURI)
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsNavHistory::GetPageTitle(nsIURI* aURI, nsAString& aTitle)
|
nsNavHistory::GetPageTitle(nsIURI* aURI, nsAString& aTitle)
|
||||||
{
|
{
|
||||||
PLACES_WARN_DEPRECATED();
|
|
||||||
|
|
||||||
NS_ASSERTION(NS_IsMainThread(), "This can only be called on the main thread");
|
NS_ASSERTION(NS_IsMainThread(), "This can only be called on the main thread");
|
||||||
NS_ENSURE_ARG(aURI);
|
NS_ENSURE_ARG(aURI);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue