зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1865891 p6. Rename EvictExpiredContentViewerForEntry to match nsIDocumentViewer's new name. r=emilio
Depends on D194278 Differential Revision: https://phabricator.services.mozilla.com/D194279
This commit is contained in:
Родитель
48f38a5ac1
Коммит
7ba3a711d7
|
@ -204,7 +204,7 @@ interface nsISHistory: nsISupports
|
||||||
* out.
|
* out.
|
||||||
*/
|
*/
|
||||||
[noscript, notxpcom]
|
[noscript, notxpcom]
|
||||||
void evictExpiredContentViewerForEntry(in SHEntrySharedParentStatePtr aEntry);
|
void evictExpiredDocumentViewerForEntry(in SHEntrySharedParentStatePtr aEntry);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Evict all the content viewers in this session history
|
* Evict all the content viewers in this session history
|
||||||
|
|
|
@ -1739,7 +1739,7 @@ nsresult nsSHistory::FindEntryForBFCache(SHEntrySharedParentState* aEntry,
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP_(void)
|
NS_IMETHODIMP_(void)
|
||||||
nsSHistory::EvictExpiredContentViewerForEntry(
|
nsSHistory::EvictExpiredDocumentViewerForEntry(
|
||||||
SHEntrySharedParentState* aEntry) {
|
SHEntrySharedParentState* aEntry) {
|
||||||
int32_t index;
|
int32_t index;
|
||||||
nsCOMPtr<nsISHEntry> shEntry;
|
nsCOMPtr<nsISHEntry> shEntry;
|
||||||
|
|
|
@ -51,7 +51,7 @@ class nsSHistory : public mozilla::LinkedListElement<nsSHistory>,
|
||||||
virtual void NotifyExpired(
|
virtual void NotifyExpired(
|
||||||
mozilla::dom::SHEntrySharedParentState* aObj) override {
|
mozilla::dom::SHEntrySharedParentState* aObj) override {
|
||||||
RemoveObject(aObj);
|
RemoveObject(aObj);
|
||||||
mSHistory->EvictExpiredContentViewerForEntry(aObj);
|
mSHistory->EvictExpiredDocumentViewerForEntry(aObj);
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче