| Index: webkit/activex_shim/activex_shared.cc
|
| diff --git a/webkit/activex_shim/activex_shared.cc b/webkit/activex_shim/activex_shared.cc
|
| index 0b12b57c167dc92834c1bfb64515a956dd014ded..ee146b9832f5e08be96d1b97714a29d563d0d004 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;
|
|
|