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

Unified Diff: chrome/browser/ui/webui/sync_internals_ui_unittest.cc

Issue 397793002: Eliminate CreateBooleanValue from test files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bad merge Created 6 years, 5 months 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/browser/ui/webui/policy_ui_browsertest.cc ('k') | chrome/test/chromedriver/alert_commands.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/sync_internals_ui_unittest.cc
diff --git a/chrome/browser/ui/webui/sync_internals_ui_unittest.cc b/chrome/browser/ui/webui/sync_internals_ui_unittest.cc
index 1d58505606bedb2d22eed96ac2ea01972137090a..5abfa19196711c450c42348c796af03f698e3ea0 100644
--- a/chrome/browser/ui/webui/sync_internals_ui_unittest.cc
+++ b/chrome/browser/ui/webui/sync_internals_ui_unittest.cc
@@ -123,7 +123,7 @@ TEST_F(SyncInternalsUITestWithService, HandleJsReply) {
base::ListValue args;
args.Append(base::Value::CreateIntegerValue(5));
- args.Append(base::Value::CreateBooleanValue(true));
+ args.Append(new base::FundamentalValue(true));
sync_internals_ui_->HandleJsReply("testMessage", JsArgList(&args));
}
@@ -189,7 +189,7 @@ TEST_F(SyncInternalsUITestWithoutService, HandleJsReply) {
base::ListValue args;
args.Append(base::Value::CreateIntegerValue(5));
- args.Append(base::Value::CreateBooleanValue(true));
+ args.Append(new base::FundamentalValue(true));
sync_internals_ui_->HandleJsReply(
"testMessage", JsArgList(&args));
}
« no previous file with comments | « chrome/browser/ui/webui/policy_ui_browsertest.cc ('k') | chrome/test/chromedriver/alert_commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698