Index: components/html_viewer/html_viewer.cc |
diff --git a/components/html_viewer/html_viewer.cc b/components/html_viewer/html_viewer.cc |
index 62fcf525228b7a286bd1ad6f7b059f459d815a28..f686b6d34caddbbaeebf78baf0759babc130cf74 100644 |
--- a/components/html_viewer/html_viewer.cc |
+++ b/components/html_viewer/html_viewer.cc |
@@ -25,7 +25,7 @@ void HTMLViewer::Initialize(mojo::Shell* shell, const std::string& url, |
} |
bool HTMLViewer::AcceptConnection(mojo::Connection* connection) { |
- connection->AddService(this); |
+ connection->AddInterface(this); |
return true; |
} |