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

Unified Diff: ios/chrome/browser/find_in_page/js_findinpage_manager.mm

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 | « headless/public/domains/types_unittest.cc ('k') | ios/chrome/browser/passwords/password_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/find_in_page/js_findinpage_manager.mm
diff --git a/ios/chrome/browser/find_in_page/js_findinpage_manager.mm b/ios/chrome/browser/find_in_page/js_findinpage_manager.mm
index 856f153266f3dbd87a53865761f4c5182a673454..96d4b6045168fecb997e3aa89f3f9fdfa063cb82 100644
--- a/ios/chrome/browser/find_in_page/js_findinpage_manager.mm
+++ b/ios/chrome/browser/find_in_page/js_findinpage_manager.mm
@@ -177,7 +177,7 @@ const FindInPageEntry kFindInPageEntryZero = {{0.0, 0.0}, 0};
std::unique_ptr<base::Value> root(base::JSONReader::Read(json, false));
if (!root.get())
return YES;
- if (!root->IsType(base::Value::TYPE_LIST))
+ if (!root->IsType(base::Value::Type::LIST))
return YES;
base::ListValue* resultList = static_cast<base::ListValue*>(root.get());
@@ -226,7 +226,7 @@ const FindInPageEntry kFindInPageEntryZero = {{0.0, 0.0}, 0};
if (!root.get())
return kFindInPageEntryZero;
- if (!root->IsType(base::Value::TYPE_LIST))
+ if (!root->IsType(base::Value::Type::LIST))
return kFindInPageEntryZero;
base::ListValue* position = static_cast<base::ListValue*>(root.get());
« no previous file with comments | « headless/public/domains/types_unittest.cc ('k') | ios/chrome/browser/passwords/password_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698