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

Unified Diff: remoting/host/pairing_registry_delegate_win.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: remoting/host/pairing_registry_delegate_win.cc
diff --git a/remoting/host/pairing_registry_delegate_win.cc b/remoting/host/pairing_registry_delegate_win.cc
index 66911c5d837ea5bc5b5b8873f21f1a8b2498ac59..af61d6df3fdc702ba46819af7bb6348dea4ac70b 100644
--- a/remoting/host/pairing_registry_delegate_win.cc
+++ b/remoting/host/pairing_registry_delegate_win.cc
@@ -63,7 +63,7 @@ std::unique_ptr<base::DictionaryValue> ReadValue(const base::win::RegKey& key,
return nullptr;
}
- if (!value->IsType(base::Value::TYPE_DICTIONARY)) {
+ if (!value->IsType(base::Value::Type::DICTIONARY)) {
LOG(ERROR) << "Failed to parse '" << value_name << "': not a dictionary.";
return nullptr;
}
« no previous file with comments | « remoting/host/it2me/it2me_native_messaging_host_unittest.cc ('k') | remoting/host/policy_watcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698