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

Unified Diff: ios/web/webui/web_ui_mojo_inttest.mm

Issue 2847743003: Eliminate InterfaceRegistry (Closed)
Patch Set: . Created 3 years, 8 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
Index: ios/web/webui/web_ui_mojo_inttest.mm
diff --git a/ios/web/webui/web_ui_mojo_inttest.mm b/ios/web/webui/web_ui_mojo_inttest.mm
index d709279c517a370eaca5ade16f4265ec98bc9e6d..6c13fba7d73d10ff6e3629582d49b063ddc785a6 100644
--- a/ios/web/webui/web_ui_mojo_inttest.mm
+++ b/ios/web/webui/web_ui_mojo_inttest.mm
@@ -20,7 +20,6 @@
#import "ios/web/web_state/web_state_impl.h"
#include "mojo/public/cpp/bindings/binding_set.h"
#include "services/service_manager/public/cpp/identity.h"
-#include "services/service_manager/public/cpp/interface_registry.h"
#include "url/gurl.h"
#include "url/scheme_host_port.h"
@@ -103,7 +102,8 @@ class TestUI : public WebUIIOSController {
web::WebState* web_state = web_ui->GetWebState();
web::WebUIIOSDataSource::Add(web_state->GetBrowserState(), source);
- web_state->GetMojoInterfaceRegistry()->AddInterface(ui_handler);
+ web_state->GetWebStateInterfaceProvider()->registry()->AddInterface(
+ ui_handler);
}
};

Powered by Google App Engine
This is Rietveld 408576698