commit | 0d2133a1fad403a1e0aa0686ff22616172345c9d | [log] [tgz] |
---|---|---|
author | twifkak <twifkak@chromium.org> | Tue Aug 11 01:39:33 2015 +0900 |
committer | Qijiang Fan <fqj@google.com> | Thu Jun 04 19:25:52 2020 +0900 |
tree | 126bba2d5d2a2fa9e33ed0d07da6bfb3f9d1b757 | |
parent | cfc844f9b1c14b6d8a48dfb51a95772fc587aacc [diff] |
Fix HistogramTester::GetAllSamples when empty. Fix GetAllSamples to return an empty vector when the histogram has no samples, instead of crashing. BUG= Review URL: https://codereview.chromium.org/1265403003 Cr-Commit-Position: refs/heads/master@{#342634} CrOS-Libchrome-Original-Commit: 36a9d6f54d27a5a093b8520a4015e8ec1a7c06bd