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

Unified Diff: sync/internal_api/public/change_record_unittest.cc

Issue 10834004: Correct const accessors in base/values.(h|cc) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Reverting webdriver:Command::parameters_ to const Created 8 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 | « remoting/host/policy_hack/policy_watcher.cc ('k') | sync/internal_api/syncapi_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/public/change_record_unittest.cc
diff --git a/sync/internal_api/public/change_record_unittest.cc b/sync/internal_api/public/change_record_unittest.cc
index 549b0d735fcfae1049d719359b15f947971940b9..b54410eb388953045c160ef2cafb37e914bd65f0 100644
--- a/sync/internal_api/public/change_record_unittest.cc
+++ b/sync/internal_api/public/change_record_unittest.cc
@@ -55,7 +55,7 @@ void CheckChangeRecordValue(
if (record.extra.get()) {
expected_extra_value.reset(record.extra->ToValue());
}
- base::Value* extra_value = NULL;
+ const base::Value* extra_value = NULL;
EXPECT_EQ(record.extra.get() != NULL,
value.Get("extra", &extra_value));
EXPECT_TRUE(Value::Equals(extra_value, expected_extra_value.get()));
« no previous file with comments | « remoting/host/policy_hack/policy_watcher.cc ('k') | sync/internal_api/syncapi_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698