diff options
Diffstat (limited to 'webkit/activex_shim')
-rw-r--r-- | webkit/activex_shim/activex_shared.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/activex_shim/activex_shared.cc b/webkit/activex_shim/activex_shared.cc index 0b12b57..ee146b9 100644 --- a/webkit/activex_shim/activex_shared.cc +++ b/webkit/activex_shim/activex_shared.cc @@ -88,8 +88,8 @@ static bool IsAllowAllActiveX() { static bool parsed_flag = false; static bool allow_all_activex = false; if (!parsed_flag) { - CommandLine command_line; - allow_all_activex = command_line.HasSwitch(kAllowAllActiveX); + allow_all_activex = + CommandLine::ForCurrentProcess()->HasSwitch(kAllowAllActiveX); parsed_flag = true; } return allow_all_activex; |