| Index: content/common/sandbox_win.cc
|
| diff --git a/content/common/sandbox_win.cc b/content/common/sandbox_win.cc
|
| index 355305e33c2434c4b0679e92a59859701a0d9143..04ad374eec78a81fc7de20365bc10aec281ec3aa 100644
|
| --- a/content/common/sandbox_win.cc
|
| +++ b/content/common/sandbox_win.cc
|
| @@ -496,10 +496,14 @@ void SetJobLevel(const CommandLine& cmd_line,
|
| sandbox::JobLevel job_level,
|
| uint32 ui_exceptions,
|
| sandbox::TargetPolicy* policy) {
|
| - if (ShouldSetJobLevel(cmd_line))
|
| + if (ShouldSetJobLevel(cmd_line)) {
|
| +#ifdef _WIN64
|
| + policy->SetJobMemoryLimit(4ULL * 1024 * 1024 * 1024);
|
| +#endif
|
| policy->SetJobLevel(job_level, ui_exceptions);
|
| - else
|
| + } else {
|
| policy->SetJobLevel(sandbox::JOB_NONE, 0);
|
| + }
|
| }
|
|
|
| // TODO(jschuh): Need get these restrictions applied to NaCl and Pepper.
|
|
|