mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 17:55:50 +00:00
Bug 1505887 - Make UAWidgets chromeonly content. r=bz
Differential Revision: https://phabricator.services.mozilla.com/D11408
This commit is contained in:
parent
d67a0a3656
commit
13f4dca274
@ -211,6 +211,8 @@ public:
|
||||
|
||||
void SetIsUAWidget()
|
||||
{
|
||||
MOZ_ASSERT(!HasChildren());
|
||||
SetFlags(NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS | NODE_CHROME_ONLY_ACCESS);
|
||||
mIsUAWidget = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user