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

Unified Diff: components/password_manager/content/browser/content_password_manager_driver.cc

Issue 2592623002: mojo:: Introduce InterfaceRequest ctor that takes in InterfacePtr* (Closed)
Patch Set: Rebase + response to review 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 | « components/leveldb/leveldb_mojo_proxy.cc ('k') | content/browser/browser_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/password_manager/content/browser/content_password_manager_driver.cc
diff --git a/components/password_manager/content/browser/content_password_manager_driver.cc b/components/password_manager/content/browser/content_password_manager_driver.cc
index 61e35ebf6b4d76f1ecb0e1cf6fd60c7db5276207..779bfb7037f1fc49ece5835033fafca4d0a3c380 100644
--- a/components/password_manager/content/browser/content_password_manager_driver.cc
+++ b/components/password_manager/content/browser/content_password_manager_driver.cc
@@ -308,8 +308,8 @@ ContentPasswordManagerDriver::GetAutofillAgent() {
const autofill::mojom::PasswordAutofillAgentPtr&
ContentPasswordManagerDriver::GetPasswordAutofillAgent() {
if (!password_autofill_agent_) {
- autofill::mojom::PasswordAutofillAgentRequest request =
- mojo::MakeRequest(&password_autofill_agent_);
+ autofill::mojom::PasswordAutofillAgentRequest request(
+ &password_autofill_agent_);
// Some test codes may have no initialized remote interfaces.
if (render_frame_host_->GetRemoteInterfaces()) {
render_frame_host_->GetRemoteInterfaces()->GetInterface(
« no previous file with comments | « components/leveldb/leveldb_mojo_proxy.cc ('k') | content/browser/browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698