summaryrefslogtreecommitdiffstats
path: root/sync
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-30 10:32:41 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-30 10:32:41 +0000
commitb54e6259cc91acf5c1f37ae5f7126a47a9447b1f (patch)
tree1c521be12176fc81f84110372ad874548a325e64 /sync
parent63aaa3f95c09df0edfc9a3703ad638cd4644434b (diff)
downloadchromium_src-b54e6259cc91acf5c1f37ae5f7126a47a9447b1f.zip
chromium_src-b54e6259cc91acf5c1f37ae5f7126a47a9447b1f.tar.gz
chromium_src-b54e6259cc91acf5c1f37ae5f7126a47a9447b1f.tar.bz2
Get rid of some uses of base::Create*Value
BUG=160586 TBR=finnur, ajuma, thakis, atwilson Review URL: https://codereview.chromium.org/131503015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247922 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync')
-rw-r--r--sync/syncable/entry_kernel.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sync/syncable/entry_kernel.cc b/sync/syncable/entry_kernel.cc
index d872695..9734483 100644
--- a/sync/syncable/entry_kernel.cc
+++ b/sync/syncable/entry_kernel.cc
@@ -126,7 +126,7 @@ base::StringValue* StringToValue(const std::string& str) {
}
base::StringValue* UniquePositionToValue(const UniquePosition& pos) {
- return base::Value::CreateStringValue(pos.ToDebugString());
+ return new base::StringValue(pos.ToDebugString());
}
} // namespace