Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index f8af92a04931b0c22929199aa1e70f96b6998325..e1ac0da6189102ca53cbfc1457129729cc5854cd 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -159,7 +159,6 @@ |
#include "content/public/common/content_descriptors.h" |
#include "content/public/common/content_features.h" |
#include "content/public/common/content_switches.h" |
-#include "content/public/common/mojo_shell_connection.h" |
#include "content/public/common/sandbox_type.h" |
#include "content/public/common/url_utils.h" |
#include "content/public/common/web_preferences.h" |
@@ -2850,8 +2849,8 @@ |
#if defined(OS_CHROMEOS) |
#if defined(MOJO_SHELL_CLIENT) |
if (chrome::IsRunningInMash()) { |
- content::MojoShellConnection::GetForProcess()->AddConnectionFilter( |
- base::MakeUnique<chromeos::ChromeInterfaceFactory>()); |
+ content::MojoShellConnection::GetForProcess()->MergeService( |
+ base::WrapUnique(new chromeos::ChromeInterfaceFactory)); |
} |
#endif // MOJO_SHELL_CLIENT |
#endif // OS_CHROMEOS |