| Index: chrome/plugin/plugin_main.cc
|
| ===================================================================
|
| --- chrome/plugin/plugin_main.cc (revision 66478)
|
| +++ chrome/plugin/plugin_main.cc (working copy)
|
| @@ -109,8 +109,8 @@
|
| << parsed_command_line.command_line_string();
|
|
|
| HMODULE sandbox_test_module = NULL;
|
| - bool no_sandbox = parsed_command_line.HasSwitch(switches::kNoSandbox);
|
| -
|
| + bool no_sandbox = parsed_command_line.HasSwitch(switches::kNoSandbox) ||
|
| + !parsed_command_line.HasSwitch(switches::kSafePlugins);
|
| if (target_services && !no_sandbox) {
|
| // The command line might specify a test plugin to load.
|
| if (parsed_command_line.HasSwitch(switches::kTestSandbox)) {
|
|
|