diff options
author | calamity@chromium.org <calamity@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-20 00:49:01 +0000 |
---|---|---|
committer | calamity@chromium.org <calamity@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-20 00:49:01 +0000 |
commit | bd6c99b1217821c0852e2649249cadbd2f90d0df (patch) | |
tree | 359b9fa5c536b904f10656f844488c3d1b41f2e0 /tools/json_schema_compiler | |
parent | 0b5c06c89c13277e563773a480a14769f27de598 (diff) | |
download | chromium_src-bd6c99b1217821c0852e2649249cadbd2f90d0df.zip chromium_src-bd6c99b1217821c0852e2649249cadbd2f90d0df.tar.gz chromium_src-bd6c99b1217821c0852e2649249cadbd2f90d0df.tar.bz2 |
json_schema_compiler: make util::AddItemToList take a const reference to match the compiler.
BUG=
TEST=
Review URL: http://codereview.chromium.org/9423035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122725 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/json_schema_compiler')
-rw-r--r-- | tools/json_schema_compiler/util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/json_schema_compiler/util.cc b/tools/json_schema_compiler/util.cc index b0e98f6..468df83 100644 --- a/tools/json_schema_compiler/util.cc +++ b/tools/json_schema_compiler/util.cc @@ -47,7 +47,7 @@ void AddItemToList(const double from, base::ListValue* out) { void AddItemToList(const std::string& from, base::ListValue* out) { out->Append(base::Value::CreateStringValue(from)); } -void AddItemToList(const linked_ptr<base::DictionaryValue> from, +void AddItemToList(const linked_ptr<base::DictionaryValue>& from, base::ListValue* out) { out->Append(static_cast<Value*>(from->DeepCopy())); } |