Bug 1751217 Part 2: Change nsDeviceContext::GetDepth to eliminate the outparam. r...
commit1c5f34a179a33fd6be267963fc2895cf7138853c
authorBrad Werth <bwerth@mozilla.com>
Wed, 23 Mar 2022 15:24:38 +0000 (23 15:24 +0000)
committerBrad Werth <bwerth@mozilla.com>
Wed, 23 Mar 2022 15:24:38 +0000 (23 15:24 +0000)
tree7152fa3419aeb119460d2d3b794ab996ba490789
parent2cd3c4b978c2c1ec58b437c50d73a5542f10afeb
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