| Index: components/nacl/loader/nacl_main_platform_delegate_win.cc
|
| diff --git a/components/nacl/loader/nacl_main_platform_delegate_win.cc b/components/nacl/loader/nacl_main_platform_delegate_win.cc
|
| index cc75ad282f1b0f145dbea9d44d65970c5ced7c3c..268113816c2e5df2f3e10c8945aecedf0d3a841d 100644
|
| --- a/components/nacl/loader/nacl_main_platform_delegate_win.cc
|
| +++ b/components/nacl/loader/nacl_main_platform_delegate_win.cc
|
| @@ -5,19 +5,13 @@
|
| #include "components/nacl/loader/nacl_main_platform_delegate.h"
|
|
|
| #include "base/logging.h"
|
| +#include "content/public/common/main_function_params.h"
|
| #include "sandbox/win/src/sandbox.h"
|
|
|
| -NaClMainPlatformDelegate::NaClMainPlatformDelegate(
|
| - const content::MainFunctionParams& parameters)
|
| - : parameters_(parameters) {
|
| -}
|
| -
|
| -NaClMainPlatformDelegate::~NaClMainPlatformDelegate() {
|
| -}
|
| -
|
| -void NaClMainPlatformDelegate::EnableSandbox() {
|
| +void NaClMainPlatformDelegate::EnableSandbox(
|
| + const content::MainFunctionParams& parameters) {
|
| sandbox::TargetServices* target_services =
|
| - parameters_.sandbox_info->target_services;
|
| + parameters.sandbox_info->target_services;
|
|
|
| CHECK(target_services) << "NaCl-Win EnableSandbox: No Target Services!";
|
| // Cause advapi32 to load before the sandbox is turned on.
|
|
|