Index: content/public/test/browser_test_base.cc |
diff --git a/content/public/test/browser_test_base.cc b/content/public/test/browser_test_base.cc |
index e956f2d6b0c002423d133e1a82675f7991768319..7b0bcfdc30eba205c238d0f8a887a2ba60c2bcc2 100644 |
--- a/content/public/test/browser_test_base.cc |
+++ b/content/public/test/browser_test_base.cc |
@@ -230,6 +230,9 @@ void BrowserTestBase::SetUp() { |
SetUpInProcessBrowserTestFixture(); |
+ DCHECK(!command_line->HasSwitch(switches::kEnableFeatures)); |
+ DCHECK(!command_line->HasSwitch(switches::kDisableFeatures)); |
+ |
// At this point, copy features to the command line, since BrowserMain will |
// wipe out the current feature list. |
std::string enabled_features; |