Index: chrome/browser/ui/webui/options/language_options_interactive_uitest.cc |
diff --git a/chrome/browser/ui/webui/options/language_options_interactive_uitest.cc b/chrome/browser/ui/webui/options/language_options_interactive_uitest.cc |
index 394e07195a9a9cbc76aa1fad7dff9c91b16cf3b3..e9fa0e270302ae224d212bd607a5f7bd5868d237 100644 |
--- a/chrome/browser/ui/webui/options/language_options_interactive_uitest.cc |
+++ b/chrome/browser/ui/webui/options/language_options_interactive_uitest.cc |
@@ -3,11 +3,13 @@ |
// found in the LICENSE file. |
#include "base/macros.h" |
+#include "base/test/scoped_feature_list.h" |
#include "build/build_config.h" |
#include "chrome/browser/chrome_notification_types.h" |
#include "chrome/browser/ui/browser_window.h" |
#include "chrome/browser/ui/chrome_pages.h" |
#include "chrome/browser/ui/tabs/tab_strip_model.h" |
+#include "chrome/common/chrome_features.h" |
#include "chrome/common/pref_names.h" |
#include "chrome/common/url_constants.h" |
#include "chrome/test/base/in_process_browser_test.h" |
@@ -30,6 +32,11 @@ class LanguageOptionsWebUITest : public InProcessBrowserTest { |
public: |
LanguageOptionsWebUITest() {} |
+ void SetUpInProcessBrowserTestFixture() override { |
+ disable_md_settings_.InitAndDisableFeature( |
+ features::kMaterialDesignSettings); |
+ } |
+ |
// This method will navigate to the language settings page and show |
// a subset of languages from the list of available languages. |
void SetUpOnMainThread() override { |
@@ -84,6 +91,8 @@ class LanguageOptionsWebUITest : public InProcessBrowserTest { |
} |
private: |
+ base::test::ScopedFeatureList disable_md_settings_; |
+ |
DISALLOW_COPY_AND_ASSIGN(LanguageOptionsWebUITest); |
}; |