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

Unified Diff: chrome/test/chromedriver/element_util.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/test/chromedriver/element_util.cc
diff --git a/chrome/test/chromedriver/element_util.cc b/chrome/test/chromedriver/element_util.cc
index 16a59281abd6e24082f0fd42b13c64e25d24f5ba..b564824656948cbe7f5df3b2bf220e1a63b06cd0 100644
--- a/chrome/test/chromedriver/element_util.cc
+++ b/chrome/test/chromedriver/element_util.cc
@@ -264,7 +264,7 @@ Status FindElement(int interval_ms,
if (status.IsError())
return status;
- if (!temp->IsType(base::Value::TYPE_NULL)) {
+ if (!temp->IsType(base::Value::Type::NONE)) {
if (only_one) {
value->reset(temp.release());
return Status(kOk);
« no previous file with comments | « chrome/test/chromedriver/chrome/web_view_impl_unittest.cc ('k') | chrome/test/chromedriver/window_commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698