| Index: content/renderer/web_ui_mojo.cc
|
| diff --git a/content/renderer/web_ui_mojo.cc b/content/renderer/web_ui_mojo.cc
|
| index 04712e24f9236dacf1f84979bad0e52c10b89cb2..21d85dacaa867df80c28f236c7732b3006a4ee0b 100644
|
| --- a/content/renderer/web_ui_mojo.cc
|
| +++ b/content/renderer/web_ui_mojo.cc
|
| @@ -48,14 +48,14 @@ WebUIMojo::WebUIMojo(RenderView* render_view)
|
| CreateContextState();
|
| }
|
|
|
| -WebUIMojo::~WebUIMojo() {
|
| -}
|
| -
|
| -void WebUIMojo::OnSetBrowserHandle(MojoHandle handle) {
|
| +void WebUIMojo::SetBrowserHandle(mojo::ScopedMessagePipeHandle handle) {
|
| v8::HandleScope handle_scope(blink::mainThreadIsolate());
|
| WebUIMojoContextState* state = GetContextState();
|
| if (state)
|
| - state->SetHandle(mojo::MakeScopedHandle(mojo::Handle(handle)));
|
| + state->SetHandle(handle.Pass());
|
| +}
|
| +
|
| +WebUIMojo::~WebUIMojo() {
|
| }
|
|
|
| void WebUIMojo::CreateContextState() {
|
|
|