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

Unified Diff: chrome/browser/ui/app_list/search/common/json_response_fetcher.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/ui/app_list/search/common/json_response_fetcher.cc
diff --git a/chrome/browser/ui/app_list/search/common/json_response_fetcher.cc b/chrome/browser/ui/app_list/search/common/json_response_fetcher.cc
index b2a88b5e444024c771b5e64f410bd59aa473857f..7975c350bcd11f24bc33c3e5106bd5417578371f 100644
--- a/chrome/browser/ui/app_list/search/common/json_response_fetcher.cc
+++ b/chrome/browser/ui/app_list/search/common/json_response_fetcher.cc
@@ -47,7 +47,7 @@ void JSONResponseFetcher::Stop() {
void JSONResponseFetcher::OnJsonParseSuccess(
std::unique_ptr<base::Value> parsed_json) {
- if (!parsed_json->IsType(base::Value::TYPE_DICTIONARY)) {
+ if (!parsed_json->IsType(base::Value::Type::DICTIONARY)) {
OnJsonParseError(kBadResponse);
return;
}
« no previous file with comments | « chrome/browser/themes/browser_theme_pack_unittest.cc ('k') | chrome/browser/ui/cocoa/applescript/apple_event_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698