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 cf6cf0ca6da0b5bb44fe37c5d3fbc4351367639f..420eb637fd318824b9d66effe90124de863e2d21 100644 |
--- a/chrome/browser/extensions/error_console/error_console.cc |
+++ b/chrome/browser/extensions/error_console/error_console.cc |
@@ -172,7 +172,7 @@ void ErrorConsole::RemoveObserver(Observer* observer) { |
bool ErrorConsole::IsEnabledForChromeExtensionsPage() const { |
if (!profile_->GetPrefs()->GetBoolean(prefs::kExtensionsUIDeveloperMode)) |
return false; // Only enabled in developer mode. |
- if (GetCurrentChannel() > chrome::VersionInfo::CHANNEL_DEV && |
+ if (GetCurrentChannel() > version_info::Channel::DEV && |
!FeatureSwitch::error_console()->IsEnabled()) |
return false; // Restricted to dev channel or opt-in. |