Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1258)

Unified Diff: chrome/browser/chromeos/mobile/mobile_activator.cc

Issue 2539363004: Make base::Value::TYPE a scoped enum. (Closed)
Patch Set: Rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/mobile/mobile_activator.cc
diff --git a/chrome/browser/chromeos/mobile/mobile_activator.cc b/chrome/browser/chromeos/mobile/mobile_activator.cc
index c3b1e1bbf066bc4a2184575f46106e49a503d686..a53ed1e728572215581e08e915e72acb11ce1249 100644
--- a/chrome/browser/chromeos/mobile/mobile_activator.cc
+++ b/chrome/browser/chromeos/mobile/mobile_activator.cc
@@ -131,7 +131,7 @@ bool CellularConfigDocument::LoadFromFile(const base::FilePath& config_path) {
std::unique_ptr<base::Value> root =
base::JSONReader::Read(config, base::JSON_ALLOW_TRAILING_COMMAS);
DCHECK(root.get() != NULL);
- if (!root.get() || root->GetType() != base::Value::TYPE_DICTIONARY) {
+ if (!root.get() || root->GetType() != base::Value::Type::DICTIONARY) {
LOG(WARNING) << "Bad cellular config file";
return false;
}

Powered by Google App Engine
This is Rietveld 408576698