Bug 1764201 Part 3: Remove screen info stuff from gfxPlatform. r=jgilbert,geckoview...
commitbb3aa5b4e1e46dd2a06fa1656255918850d7c9e8
authorBrad Werth <bwerth@mozilla.com>
Tue, 19 Mar 2024 13:52:32 +0000 (19 13:52 +0000)
committerBrad Werth <bwerth@mozilla.com>
Tue, 19 Mar 2024 13:52:32 +0000 (19 13:52 +0000)
tree7237130d31215fd6ce97b51fc55fe3fbd7a6967e
parent67f8a6e7ac1694c54146221fa8a7c72e701b1493
Bug 1764201 Part 3: Remove screen info stuff from gfxPlatform. r=jgilbert,geckoview-reviewers

The gfxPlatform::GetScreen* methods have always been redundant. Removing
them in favor of ScreenManager or nsDeviceContext methods will
discourage future code authors from adding more redundancy in
gfxPlatform.

Differential Revision: https://phabricator.services.mozilla.com/D203672
dom/canvas/DrawTargetWebgl.cpp
gfx/thebes/gfxAndroidPlatform.cpp
gfx/thebes/gfxPlatform.cpp
gfx/thebes/gfxPlatform.h
toolkit/components/resistfingerprinting/nsUserCharacteristics.cpp