Bug 1505887 - Make UAWidgets chromeonly content. r=bz

Differential Revision: https://phabricator.services.mozilla.com/D11408
This commit is contained in:
Emilio Cobos Álvarez 2018-11-26 21:09:51 +01:00
parent d67a0a3656
commit 13f4dca274

View File

@ -211,6 +211,8 @@ public:
void SetIsUAWidget()
{
MOZ_ASSERT(!HasChildren());
SetFlags(NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS | NODE_CHROME_ONLY_ACCESS);
mIsUAWidget = true;
}