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

Unified Diff: components/spellcheck/browser/spelling_service_client.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: components/spellcheck/browser/spelling_service_client.cc
diff --git a/components/spellcheck/browser/spelling_service_client.cc b/components/spellcheck/browser/spelling_service_client.cc
index 44c51ccb695ffd6c1e79d254b933475423a8853e..985732a8db5384f6e4faeac38814249eba9268b6 100644
--- a/components/spellcheck/browser/spelling_service_client.cc
+++ b/components/spellcheck/browser/spelling_service_client.cc
@@ -196,7 +196,7 @@ bool SpellingServiceClient::ParseResponse(
static_cast<base::DictionaryValue*>(
base::JSONReader::Read(data, base::JSON_ALLOW_TRAILING_COMMAS)
.release()));
- if (!value.get() || !value->IsType(base::Value::TYPE_DICTIONARY))
+ if (!value.get() || !value->IsType(base::Value::Type::DICTIONARY))
return false;
// Check for errors from spelling service.
« no previous file with comments | « components/search_engines/default_search_policy_handler.cc ('k') | components/sync/driver/sync_policy_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698