Loading
Bug 1733465 part 2: Modernize nsViewManager::GetRootWidget() to use...
Bug 1733465 part 2: Modernize nsViewManager::GetRootWidget() to use already_AddRefed return value, instead of requiring getter_AddRefs at callsite. r=tnikkel This patch shouldn't change behavior at all. This patch replaces a manual NS_ADDREF call with typesafe code that manages the reference count for us. This reduces repeated boilerplate code, in the implementation as well as the callsites. Differential Revision: https://phabricator.services.mozilla.com/D127179