зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1727271: part 3) const-qualify `Document::HasValidTransientUserGestureActivation`. r=edgar
Depends on D123438 Differential Revision: https://phabricator.services.mozilla.com/D123450
This commit is contained in:
Родитель
02c6c8ba09
Коммит
69287a69c2
|
@ -15922,7 +15922,7 @@ void Document::ClearUserGestureActivation() {
|
|||
}
|
||||
}
|
||||
|
||||
bool Document::HasValidTransientUserGestureActivation() {
|
||||
bool Document::HasValidTransientUserGestureActivation() const {
|
||||
RefPtr<WindowContext> wc = GetWindowContext();
|
||||
return wc && wc->HasValidTransientUserGestureActivation();
|
||||
}
|
||||
|
|
|
@ -3645,7 +3645,7 @@ class Document : public nsINode,
|
|||
|
||||
// Return true if there is transient user gesture activation and it hasn't yet
|
||||
// timed out.
|
||||
bool HasValidTransientUserGestureActivation();
|
||||
bool HasValidTransientUserGestureActivation() const;
|
||||
|
||||
// Return true.
|
||||
bool ConsumeTransientUserGestureActivation();
|
||||
|
|
Загрузка…
Ссылка в новой задаче