зеркало из https://github.com/mozilla/pjs.git
setGlobalSecurityController should be static
This commit is contained in:
Родитель
1a3ea9199c
Коммит
8404a66bdf
|
@ -1984,7 +1984,8 @@ public class Context
|
||||||
* settings. The method can only be called once.
|
* settings. The method can only be called once.
|
||||||
* @see #hasGlobalSecurityController()
|
* @see #hasGlobalSecurityController()
|
||||||
*/
|
*/
|
||||||
public final void setGlobalSecurityController(SecurityController controller)
|
public static void setGlobalSecurityController(SecurityController
|
||||||
|
controller)
|
||||||
{
|
{
|
||||||
if (controller == null) throw new IllegalArgumentException();
|
if (controller == null) throw new IllegalArgumentException();
|
||||||
if (globalSecurityController != null) {
|
if (globalSecurityController != null) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче