Index: chrome/common/sandbox_policy.cc |
diff --git a/chrome/common/sandbox_policy.cc b/chrome/common/sandbox_policy.cc |
index b93f5a2bb1408d5832d221d298e5bcf4a15861e8..2f649c5f5c8642f8dd1bc50c97053084ca68f51b 100644 |
--- a/chrome/common/sandbox_policy.cc |
+++ b/chrome/common/sandbox_policy.cc |
@@ -340,9 +340,9 @@ bool ApplyPolicyForBuiltInFlashPlugin(sandbox::TargetPolicy* policy) { |
bool AddPolicyForPlugin(const CommandLine* cmd_line, |
sandbox::TargetPolicy* policy) { |
std::wstring plugin_dll = cmd_line-> |
- GetSwitchValue(switches::kPluginPath); |
+ GetSwitchValueNative(switches::kPluginPath); |
std::wstring trusted_plugins = CommandLine::ForCurrentProcess()-> |
- GetSwitchValue(switches::kTrustedPlugins); |
+ GetSwitchValueNative(switches::kTrustedPlugins); |
// Add the policy for the pipes. |
sandbox::ResultCode result = sandbox::SBOX_ALL_OK; |
result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_NAMED_PIPES, |