diff --git a/toolkit/components/places/History.cpp b/toolkit/components/places/History.cpp index 470c425cf1df..ef8fe8ec8614 100644 --- a/toolkit/components/places/History.cpp +++ b/toolkit/components/places/History.cpp @@ -55,9 +55,6 @@ namespace places { //////////////////////////////////////////////////////////////////////////////// //// Global Defines -#define URI_VISITED "visited" -#define URI_NOT_VISITED "not visited" -#define URI_VISITED_RESOLUTION_TOPIC "visited-status-resolution" // Observer event fired after a visit has been registered in the DB. #define URI_VISIT_SAVED "uri-visit-saved" @@ -428,16 +425,6 @@ class VisitedQuery final : public AsyncStatementCallback { : IHistory::VisitedStatus::Unvisited; history->NotifyVisited(mURI, status); } - - nsCOMPtr observerService = - mozilla::services::GetObserverService(); - if (observerService) { - static const char16_t visited[] = u"" URI_VISITED; - static const char16_t notVisited[] = u"" URI_NOT_VISITED; - const char16_t* status = mIsVisited ? visited : notVisited; - (void)observerService->NotifyObservers(mURI, URI_VISITED_RESOLUTION_TOPIC, - status); - } } private: