Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Unified Diff: mash/webtest/webtest.cc

Issue 2589663003: mojo:: Rename mojo::GetProxy() to mojo::MakeRequest() (Closed)
Patch Set: Rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mash/task_viewer/task_viewer.cc ('k') | media/mojo/clients/mojo_audio_decoder_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/webtest/webtest.cc
diff --git a/mash/webtest/webtest.cc b/mash/webtest/webtest.cc
index 338943abfa7ed4de1edf671908f06043cec41566..59273ab056d17afc8ec039a43de2483dce789aa0 100644
--- a/mash/webtest/webtest.cc
+++ b/mash/webtest/webtest.cc
@@ -100,7 +100,7 @@ class UI : public views::WidgetDelegateView,
window->AddChild(content_area_);
ui::mojom::WindowTreeClientPtr client;
- view_->GetWindowTreeClient(GetProxy(&client));
+ view_->GetWindowTreeClient(MakeRequest(&client));
const uint32_t embed_flags = 0; // Nothing special.
aura::WindowPortMus::Get(content_area_)
->Embed(std::move(client), embed_flags, base::Bind(&EmbedCallback));
@@ -192,8 +192,8 @@ void Webtest::Launch(uint32_t what, mojom::LaunchMode how) {
navigation::mojom::ViewPtr view;
navigation::mojom::ViewClientPtr view_client;
navigation::mojom::ViewClientRequest view_client_request =
- GetProxy(&view_client);
- view_factory->CreateView(std::move(view_client), GetProxy(&view));
+ MakeRequest(&view_client);
+ view_factory->CreateView(std::move(view_client), MakeRequest(&view));
UI* ui = new UI(this, std::move(view), std::move(view_client_request));
views::Widget* window = views::Widget::CreateWindowWithContextAndBounds(
ui, nullptr, gfx::Rect(50, 10, 600, 600));
« no previous file with comments | « mash/task_viewer/task_viewer.cc ('k') | media/mojo/clients/mojo_audio_decoder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698