Bug 1937785 - Make PresShell::GetMobileViewportManager return a raw pointer. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D234261
This commit is contained in:
@@ -11346,7 +11346,7 @@ void PresShell::SetIsActive(bool aIsActive) {
|
||||
}
|
||||
}
|
||||
|
||||
RefPtr<MobileViewportManager> PresShell::GetMobileViewportManager() const {
|
||||
MobileViewportManager* PresShell::GetMobileViewportManager() const {
|
||||
return mMobileViewportManager;
|
||||
}
|
||||
|
||||
|
||||
@@ -418,7 +418,7 @@ class PresShell final : public nsStubDocumentObserver,
|
||||
* viewport. Will return null in situations where we don't have a mobile
|
||||
* viewport, and for documents that are not the root content document.
|
||||
*/
|
||||
RefPtr<MobileViewportManager> GetMobileViewportManager() const;
|
||||
MobileViewportManager* GetMobileViewportManager() const;
|
||||
|
||||
/**
|
||||
* Called when document load completes.
|
||||
|
||||
Reference in New Issue
Block a user