Chromium Code Reviews| Index: build/android/surface_stats.py |
| diff --git a/build/android/surface_stats.py b/build/android/surface_stats.py |
| index 9cff25c04cc761ef8590a98b3f1e6a2e93253a20..f023c0292dc69d14774d3b1da6bd09139184ff8d 100755 |
| --- a/build/android/surface_stats.py |
| +++ b/build/android/surface_stats.py |
| @@ -29,7 +29,7 @@ _FIELD_FORMAT = { |
| def _MergeResults(results, fields): |
| merged_results = collections.defaultdict(list) |
| for result in results: |
| - if fields != ['all'] and not result.name in fields: |
| + if (fields != ['all'] and not result.name in fields) or not result.value: |
|
Sami
2013/06/05 15:27:25
The last part should be "or result.value is None"
bulach
2013/06/05 15:38:01
Done.
|
| continue |
| name = '%s (%s)' % (result.name, result.unit) |
| if isinstance(result.value, list): |