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); |
} |