mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 09:15:35 +00:00
Bug 1541253 - Make PresShell::IsVisible const. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D26251 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
1a57aab68e
commit
88e1c00d24
@ -8811,7 +8811,7 @@ void PresShell::DidPaintWindow() {
|
||||
}
|
||||
}
|
||||
|
||||
bool PresShell::IsVisible() {
|
||||
bool PresShell::IsVisible() const {
|
||||
if (!mIsActive || !mViewManager) return false;
|
||||
|
||||
nsView* view = mViewManager->GetRootView();
|
||||
|
@ -1043,7 +1043,7 @@ class PresShell final : public nsStubDocumentObserver,
|
||||
*/
|
||||
MOZ_CAN_RUN_SCRIPT void DidPaintWindow();
|
||||
|
||||
bool IsVisible();
|
||||
bool IsVisible() const;
|
||||
MOZ_CAN_RUN_SCRIPT
|
||||
void DispatchSynthMouseMove(WidgetGUIEvent* aEvent);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user