Index: sandbox/win/src/named_pipe_dispatcher.cc |
diff --git a/sandbox/win/src/named_pipe_dispatcher.cc b/sandbox/win/src/named_pipe_dispatcher.cc |
index 53bb7c4c658d0d81d3f9222271eac1b69e8061ae..5eeb6d168c331aa54e82ebc0574cc63aae9bc4c9 100644 |
--- a/sandbox/win/src/named_pipe_dispatcher.cc |
+++ b/sandbox/win/src/named_pipe_dispatcher.cc |
@@ -20,8 +20,8 @@ |
namespace sandbox { |
-NamedPipeDispatcher::NamedPipeDispatcher(PolicyBase* policy_base) |
- : policy_base_(policy_base) { |
+NamedPipeDispatcher::NamedPipeDispatcher(TargetPolicy* policy) |
+ : policy_(policy) { |
static const IPCCall create_params = { |
{IPC_CREATENAMEDPIPEW_TAG, |
{WCHAR_TYPE, |
@@ -73,8 +73,8 @@ bool NamedPipeDispatcher::CreateNamedPipe(IPCInfo* ipc, |
CountedParameterSet<NameBased> params; |
params[NameBased::NAME] = ParamPickerMake(pipe_name); |
- EvalResult eval = policy_base_->EvalPolicy(IPC_CREATENAMEDPIPEW_TAG, |
- params.GetBase()); |
+ EvalResult eval = |
+ policy_->EvalPolicy(IPC_CREATENAMEDPIPEW_TAG, params.GetBase()); |
// "For file I/O, the "\\?\" prefix to a path string tells the Windows APIs to |
// disable all string parsing and to send the string that follows it straight |