Index: chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc |
diff --git a/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc b/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc |
index 852df4c57c34308ca1f8da4f2667404e4b9ab828..f814e2f3a5743494229cba02c5746f5b5ef43b80 100644 |
--- a/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc |
+++ b/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc |
@@ -344,9 +344,9 @@ void CoreOobeHandler::UpdateA11yState() { |
void CoreOobeHandler::UpdateOobeUIVisibility() { |
// Don't show version label on the stable channel by default. |
bool should_show_version = true; |
- chrome::VersionInfo::Channel channel = chrome::VersionInfo::GetChannel(); |
- if (channel == chrome::VersionInfo::CHANNEL_STABLE || |
- channel == chrome::VersionInfo::CHANNEL_BETA) { |
+ version_info::Channel channel = chrome::VersionInfo::GetChannel(); |
+ if (channel == version_info::Channel::STABLE || |
+ channel == version_info::Channel::BETA) { |
should_show_version = false; |
} |
CallJS("showVersion", should_show_version); |