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

Unified Diff: chrome/test/chromedriver/window_commands.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 | « chrome/test/chromedriver/element_util.cc ('k') | chromeos/dbus/fake_shill_service_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/window_commands.cc
diff --git a/chrome/test/chromedriver/window_commands.cc b/chrome/test/chromedriver/window_commands.cc
index 93a36f6fd934da28438111957918716450d7ebfc..5aa83bc117b884ec0f2e9ee954f21a1336c245c2 100644
--- a/chrome/test/chromedriver/window_commands.cc
+++ b/chrome/test/chromedriver/window_commands.cc
@@ -349,7 +349,7 @@ Status ExecuteSwitchToFrame(Session* session,
if (!params.Get("id", &id))
return Status(kUnknownError, "missing 'id'");
- if (id->IsType(base::Value::TYPE_NULL)) {
+ if (id->IsType(base::Value::Type::NONE)) {
session->SwitchToTopFrame();
return Status(kOk);
}
« no previous file with comments | « chrome/test/chromedriver/element_util.cc ('k') | chromeos/dbus/fake_shill_service_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698