| Index: trunk/src/content/renderer/web_ui_mojo_context_state.cc
|
| ===================================================================
|
| --- trunk/src/content/renderer/web_ui_mojo_context_state.cc (revision 258768)
|
| +++ trunk/src/content/renderer/web_ui_mojo_context_state.cc (working copy)
|
| @@ -35,7 +35,7 @@
|
| const char kModulePrefix[] = "chrome://mojo/";
|
|
|
| void RunMain(base::WeakPtr<gin::Runner> runner,
|
| - mojo::ScopedMessagePipeHandle* handle,
|
| + mojo::ScopedHandle* handle,
|
| v8::Handle<v8::Value> module) {
|
| v8::Isolate* isolate = runner->GetContextHolder()->isolate();
|
| v8::Handle<v8::Function> start;
|
| @@ -70,10 +70,9 @@
|
| runner_->GetContextHolder()->context())->RemoveObserver(this);
|
| }
|
|
|
| -void WebUIMojoContextState::SetHandle(mojo::ScopedMessagePipeHandle handle) {
|
| +void WebUIMojoContextState::SetHandle(mojo::ScopedHandle handle) {
|
| gin::ContextHolder* context_holder = runner_->GetContextHolder();
|
| - mojo::ScopedMessagePipeHandle* passed_handle =
|
| - new mojo::ScopedMessagePipeHandle(handle.Pass());
|
| + mojo::ScopedHandle* passed_handle = new mojo::ScopedHandle(handle.Pass());
|
| gin::ModuleRegistry::From(context_holder->context())->LoadModule(
|
| context_holder->isolate(),
|
| "main",
|
|
|