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

Unified Diff: chrome/browser/extensions/alert_apitest.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/extensions/alert_apitest.cc
diff --git a/chrome/browser/extensions/alert_apitest.cc b/chrome/browser/extensions/alert_apitest.cc
index 718bc18e89b05dcfc22965a8587a2775dab1cfac..9d638b961d80b963c90ddc581c3fde2ade0847ba 100644
--- a/chrome/browser/extensions/alert_apitest.cc
+++ b/chrome/browser/extensions/alert_apitest.cc
@@ -55,7 +55,7 @@ void CheckAlertResult(const std::string& dialog_name,
size_t* call_count,
const base::Value* value) {
ASSERT_TRUE(value) << dialog_name;
- ASSERT_TRUE(value->IsType(base::Value::TYPE_NULL));
+ ASSERT_TRUE(value->IsType(base::Value::Type::NONE));
++*call_count;
}
« no previous file with comments | « chrome/browser/extensions/activity_log/fullstream_ui_policy.cc ('k') | chrome/browser/extensions/api/debugger/debugger_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698