зеркало из https://github.com/mozilla/pjs.git
Backed out changeset 96a66c1a50bd for failing unit tests.
This commit is contained in:
Родитель
8e29c423c2
Коммит
3ba4dc7e72
|
@ -4524,12 +4524,12 @@ nsNavHistory::RemovePagesFromHost(const nsACString& aHost, PRBool aEntireDomain)
|
||||||
hostPlaceIds.AppendInt(placeId);
|
hostPlaceIds.AppendInt(placeId);
|
||||||
}
|
}
|
||||||
|
|
||||||
// force a full refresh calling onEndUpdateBatch (will call Refresh())
|
|
||||||
UpdateBatchScoper batch(*this); // sends Begin/EndUpdateBatch to observers
|
|
||||||
|
|
||||||
rv = RemovePagesInternal(hostPlaceIds);
|
rv = RemovePagesInternal(hostPlaceIds);
|
||||||
NS_ENSURE_SUCCESS(rv, rv);
|
NS_ENSURE_SUCCESS(rv, rv);
|
||||||
|
|
||||||
|
// force a full refresh calling onEndUpdateBatch (will call Refresh())
|
||||||
|
UpdateBatchScoper batch(*this); // sends Begin/EndUpdateBatch to observers
|
||||||
|
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче