| Index: content/browser/webui/web_ui_mojo_browsertest.cc
|
| diff --git a/content/browser/webui/web_ui_mojo_browsertest.cc b/content/browser/webui/web_ui_mojo_browsertest.cc
|
| index e705f99d986814bd9ba745dbde6cd34aa7f9e36b..1f5ba9fad4e44d27e49d59e3a3a7a8a918dbaf69 100644
|
| --- a/content/browser/webui/web_ui_mojo_browsertest.cc
|
| +++ b/content/browser/webui/web_ui_mojo_browsertest.cc
|
| @@ -5,6 +5,7 @@
|
| #include <limits>
|
| #include <utility>
|
|
|
| +#include "base/command_line.h"
|
| #include "base/files/file_path.h"
|
| #include "base/files/file_util.h"
|
| #include "base/macros.h"
|
| @@ -185,6 +186,12 @@ class WebUIMojoTest : public ContentBrowserTest {
|
| WebUIControllerFactory::UnregisterFactoryForTesting(&factory_);
|
| }
|
|
|
| + // ContentBrowserTest overrides.
|
| + void SetUpCommandLine(base::CommandLine* command_line) override {
|
| + ContentBrowserTest::SetUpCommandLine(command_line);
|
| + command_line->AppendSwitchASCII(switches::kEnableBlinkFeatures, "MojoJS");
|
| + }
|
| +
|
| TestWebUIControllerFactory* factory() { return &factory_; }
|
|
|
| private:
|
|
|