Bug 1751217 Part 2: Change nsDeviceContext::GetDepth to eliminate the outparam. r...
commit66f5f1c938b9b17d4299f826d5699a185d8442fe
authorBrad Werth <bwerth@mozilla.com>
Thu, 24 Mar 2022 18:19:49 +0000 (24 18:19 +0000)
committerBrad Werth <bwerth@mozilla.com>
Thu, 24 Mar 2022 18:19:49 +0000 (24 18:19 +0000)
tree212e764ae333173eba2a19906b94623ae26af0c5
parent99d39f26360ea03454eb34bab488942452493760
Bug 1751217 Part 2: Change nsDeviceContext::GetDepth to eliminate the outparam. r=emilio

This function always succeeds so there's no reason to maintain an nsresult.

Differential Revision: https://phabricator.services.mozilla.com/D141407
dom/base/nsScreen.cpp
gfx/src/nsDeviceContext.cpp
gfx/src/nsDeviceContext.h
layout/style/nsMediaFeatures.cpp