зеркало из https://github.com/mozilla/gecko-dev.git
Bug 742434 - Part 1: Make ContentSecurityPolicy constructor explicit. r=gcp
MozReview-Commit-ID: HrBpcQ1BYFI --HG-- extra : rebase_source : 0505ff9f9260627a0519e1f0ea536efd7af0210e
This commit is contained in:
Родитель
48f17dbe5d
Коммит
feca70c6cc
|
@ -404,7 +404,7 @@ class ContentSandboxPolicy : public SandboxPolicyCommon {
|
|||
}
|
||||
|
||||
public:
|
||||
ContentSandboxPolicy(SandboxBrokerClient* aBroker):mBroker(aBroker) { }
|
||||
explicit ContentSandboxPolicy(SandboxBrokerClient* aBroker):mBroker(aBroker) { }
|
||||
virtual ~ContentSandboxPolicy() { }
|
||||
virtual ResultExpr PrctlPolicy() const override {
|
||||
// Ideally this should be restricted to a whitelist, but content
|
||||
|
|
Загрузка…
Ссылка в новой задаче