commit | 64150c9670bec3824166810fbcb531798b0b9456 | [log] [tgz] |
---|---|---|
author | tmarek <tmarek@google.com> | Tue Nov 29 11:00:21 2016 |
committer | Commit bot <commit-bot@chromium.org> | Tue Nov 29 11:02:25 2016 |
tree | 6e8ae68108da33c43ad6a606201a5910a0ebf4cc | |
parent | ffe8e7b51df227590c9cadad11dd9e734f571129 [diff] |
Fix the serialization for values in std::unique_ptrs. In the ToValueImpl specialization for std::unique_ptr<T>, call ToValue with the dereferenced type. All specializations take const&, which would previously result in a call to ToValue(const*&), resulting in a wrong specialization to be selected. BUG=546953 Review-Url: https://codereview.chromium.org/2533083003 Cr-Commit-Position: refs/heads/master@{#434955}