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

Unified Diff: jingle/glue/utils.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
« no previous file with comments | « ipc/ipc_message_utils.cc ('k') | media/base/video_frame_metadata.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: jingle/glue/utils.cc
diff --git a/jingle/glue/utils.cc b/jingle/glue/utils.cc
index 923f02130527c290db87b484586c91c7d2696f07..4ea1d36f202345ac5f772f3117519f4f2af75eae 100644
--- a/jingle/glue/utils.cc
+++ b/jingle/glue/utils.cc
@@ -72,7 +72,7 @@ bool DeserializeP2PCandidate(const std::string& candidate_str,
cricket::Candidate* candidate) {
std::unique_ptr<base::Value> value(
base::JSONReader::Read(candidate_str, base::JSON_ALLOW_TRAILING_COMMAS));
- if (!value.get() || !value->IsType(base::Value::TYPE_DICTIONARY)) {
+ if (!value.get() || !value->IsType(base::Value::Type::DICTIONARY)) {
return false;
}
« no previous file with comments | « ipc/ipc_message_utils.cc ('k') | media/base/video_frame_metadata.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698