| Index: content/renderer/web_ui_mojo_context_state.cc
|
| diff --git a/content/renderer/web_ui_mojo_context_state.cc b/content/renderer/web_ui_mojo_context_state.cc
|
| index 0c8ab24e8ce53eb7639ac0383373f672d30c8682..71ffe79ee4acb4475370ada3d87b31cdf19f87ea 100644
|
| --- a/content/renderer/web_ui_mojo_context_state.cc
|
| +++ b/content/renderer/web_ui_mojo_context_state.cc
|
| @@ -35,7 +35,7 @@ namespace {
|
| const char kModulePrefix[] = "chrome://mojo/";
|
|
|
| void RunMain(base::WeakPtr<gin::Runner> runner,
|
| - mojo::ScopedHandle* handle,
|
| + mojo::ScopedMessagePipeHandle* handle,
|
| v8::Handle<v8::Value> module) {
|
| v8::Isolate* isolate = runner->GetContextHolder()->isolate();
|
| v8::Handle<v8::Function> start;
|
| @@ -70,9 +70,10 @@ WebUIMojoContextState::~WebUIMojoContextState() {
|
| runner_->GetContextHolder()->context())->RemoveObserver(this);
|
| }
|
|
|
| -void WebUIMojoContextState::SetHandle(mojo::ScopedHandle handle) {
|
| +void WebUIMojoContextState::SetHandle(mojo::ScopedMessagePipeHandle handle) {
|
| gin::ContextHolder* context_holder = runner_->GetContextHolder();
|
| - mojo::ScopedHandle* passed_handle = new mojo::ScopedHandle(handle.Pass());
|
| + mojo::ScopedMessagePipeHandle* passed_handle =
|
| + new mojo::ScopedMessagePipeHandle(handle.Pass());
|
| gin::ModuleRegistry::From(context_holder->context())->LoadModule(
|
| context_holder->isolate(),
|
| "main",
|
|
|