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

Unified Diff: components/autofill/content/browser/content_autofill_driver.cc

Issue 2079943002: Change RenderFrame to use InterfaceRegistry et al. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a2
Patch Set: . Created 4 years, 6 months 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/autofill/content/browser/BUILD.gn ('k') | components/autofill/content/renderer/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/content/browser/content_autofill_driver.cc
diff --git a/components/autofill/content/browser/content_autofill_driver.cc b/components/autofill/content/browser/content_autofill_driver.cc
index 4bb5301a5587deba10d17714280a3fb5490c7000..8d091cdcb0ec325fb5786480a99a2a4083dd15ac 100644
--- a/components/autofill/content/browser/content_autofill_driver.cc
+++ b/components/autofill/content/browser/content_autofill_driver.cc
@@ -23,8 +23,8 @@
#include "content/public/browser/render_widget_host_view.h"
#include "content/public/browser/site_instance.h"
#include "content/public/browser/storage_partition.h"
-#include "content/public/common/service_registry.h"
#include "ipc/ipc_message_macros.h"
+#include "services/shell/public/cpp/interface_provider.h"
#include "ui/gfx/geometry/size_f.h"
namespace autofill {
@@ -237,8 +237,8 @@ void ContentAutofillDriver::ConnectToMojoAutofillAgentIfNeeded() {
if (mojo_autofill_agent_)
return;
- render_frame_host_->GetServiceRegistry()->ConnectToRemoteService(
- mojo::GetProxy(&mojo_autofill_agent_));
+ render_frame_host_->GetRemoteInterfaces()->GetInterface(
+ &mojo_autofill_agent_);
}
} // namespace autofill
« no previous file with comments | « components/autofill/content/browser/BUILD.gn ('k') | components/autofill/content/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698