Chromium Code Reviews| Index: content/shell/browser/shell.cc |
| diff --git a/content/shell/browser/shell.cc b/content/shell/browser/shell.cc |
| index 7d8ac38b6fa412982bba407b0f90db131f9f5356..5bdce8c0d95ed9a7c80144b804df27840498979a 100644 |
| --- a/content/shell/browser/shell.cc |
| +++ b/content/shell/browser/shell.cc |
| @@ -22,6 +22,7 @@ |
| #include "content/public/browser/web_contents_observer.h" |
| #include "content/public/common/content_switches.h" |
| #include "content/public/common/renderer_preferences.h" |
| +#include "content/public/renderer/webrtc_ip_handling_policy.h" |
| #include "content/shell/browser/blink_test_controller.h" |
| #include "content/shell/browser/layout_test/layout_test_bluetooth_chooser_factory.h" |
| #include "content/shell/browser/layout_test/layout_test_devtools_frontend.h" |
| @@ -120,8 +121,8 @@ Shell* Shell::CreateShell(WebContents* web_contents, |
| #if defined(ENABLE_WEBRTC) |
| if (base::CommandLine::ForCurrentProcess()->HasSwitch( |
| switches::kDisableWebRtcMultipleRoutes)) { |
| - web_contents->GetMutableRendererPrefs()->enable_webrtc_multiple_routes = |
| - false; |
| + web_contents->GetMutableRendererPrefs()->webrtc_ip_handling_policy = |
| + content::kWebRTCIPHandlingDefaultPublicInterfaceOnly; |
|
nasko
2015/10/26 15:49:49
This code is already in content/. No need for cont
guoweis_left_chromium
2015/10/27 20:32:00
Done.
|
| } |
| #endif |