Index: chrome/browser/extensions/error_console/error_console.cc |
diff --git a/chrome/browser/extensions/error_console/error_console.cc b/chrome/browser/extensions/error_console/error_console.cc |
index 9fc50894cca3c21d190f7e69ac3749fe500e5408..048fe2196fddcb97c55f9b8149a70f3d76e358ae 100644 |
--- a/chrome/browser/extensions/error_console/error_console.cc |
+++ b/chrome/browser/extensions/error_console/error_console.cc |
@@ -24,7 +24,6 @@ |
#include "extensions/common/constants.h" |
#include "extensions/common/extension.h" |
#include "extensions/common/extension_set.h" |
-#include "extensions/common/feature_switch.h" |
namespace extensions { |
@@ -49,12 +48,6 @@ ErrorConsole::ErrorConsole(Profile* profile, |
return; |
#endif |
- // If we don't have the necessary FeatureSwitch enabled, then return |
- // immediately. Since we never register for any notifications, this ensures |
- // the ErrorConsole will never be enabled. |
- if (!FeatureSwitch::error_console()->IsEnabled()) |
- return; |
- |
pref_registrar_.Init(profile_->GetPrefs()); |
pref_registrar_.Add(prefs::kExtensionsUIDeveloperMode, |
base::Bind(&ErrorConsole::OnPrefChanged, |