| Index: examples/indirect_service/indirect_service_demo.cc
|
| diff --git a/examples/indirect_service/indirect_service_demo.cc b/examples/indirect_service/indirect_service_demo.cc
|
| index dad816f6c7c255949e5a25ada641f3ff00d095c0..b1d459b0cc2c89153365bd2401b0506fb603c1a7 100644
|
| --- a/examples/indirect_service/indirect_service_demo.cc
|
| +++ b/examples/indirect_service/indirect_service_demo.cc
|
| @@ -46,7 +46,8 @@ class DemoTask {
|
| }
|
|
|
| void Run() {
|
| - integer_service_.Bind(proxy_handle_.Pass());
|
| + integer_service_.Bind(
|
| + InterfacePtrInfo<IntegerService>(proxy_handle_.Pass(), 0u));
|
| base::Callback<void(int32_t)> callback =
|
| base::Bind(&DemoTask::SaveResultAndFinish, base::Unretained(this));
|
| for(int unsigned i = 0; i < iteration_count_; i++) {
|
| @@ -107,9 +108,9 @@ class IndirectServiceDemoAppDelegate : public ApplicationDelegate {
|
| base::Unretained(base::MessageLoop::current()));
|
| // We're passing the integer_service_ proxy to another thread, so
|
| // use its MessagePipe.
|
| - tasks_.push_back(new DemoTask(integer_service.PassMessagePipe(),
|
| - finished_callback,
|
| - kTaskIterationCount));
|
| + tasks_.push_back(
|
| + new DemoTask(integer_service.PassInterface().PassHandle(),
|
| + finished_callback, kTaskIterationCount));
|
| }
|
| }
|
|
|
|
|