Bug 1674909: Mark LazyInstantiator::GetRootAccessible as nodiscard; r=Jamie

Differential Revision: https://phabricator.services.mozilla.com/D95593
This commit is contained in:
Aaron Klotz 2020-11-03 02:05:32 +00:00
parent ea163d7b6b
commit f71723139d

View File

@ -31,7 +31,8 @@ class RootAccessibleWrap;
*/
class LazyInstantiator final : public IAccessible, public IServiceProvider {
public:
static already_AddRefed<IAccessible> GetRootAccessible(HWND aHwnd);
[[nodiscard]] static already_AddRefed<IAccessible> GetRootAccessible(
HWND aHwnd);
static void EnableBlindAggregation(HWND aHwnd);
// IUnknown