| Index: content/shell/browser/shell.cc
|
| diff --git a/content/shell/browser/shell.cc b/content/shell/browser/shell.cc
|
| index 6e8d8fc8b0854c0560fed91f8255e073a8b394f1..f26eed92900738e841cc53d2a9331c2d48404d79 100644
|
| --- a/content/shell/browser/shell.cc
|
| +++ b/content/shell/browser/shell.cc
|
| @@ -24,6 +24,7 @@
|
| #include "content/public/browser/render_widget_host.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "content/public/browser/web_contents_observer.h"
|
| +#include "content/public/common/bindings_policy.h"
|
| #include "content/public/common/content_switches.h"
|
| #include "content/public/common/renderer_preferences.h"
|
| #include "content/public/common/webrtc_ip_handling_policy.h"
|
| @@ -122,6 +123,7 @@ Shell* Shell::CreateShell(WebContents* web_contents,
|
| if (command_line->HasSwitch(switches::kRunLayoutTest)) {
|
| web_contents->GetMutableRendererPrefs()->use_custom_colors = false;
|
| web_contents->GetRenderViewHost()->SyncRendererPrefs();
|
| + web_contents->GetRenderViewHost()->AllowBindings(BINDINGS_POLICY_MOJO);
|
| }
|
|
|
| #if defined(ENABLE_WEBRTC)
|
|
|