commit | 10ef665c585ba66ee54f4442d1be5694f849b0f9 | [log] [tgz] |
---|---|---|
author | Nataniel Borges <natanieljr@google.com> | Thu Feb 14 15:37:30 2019 -0800 |
committer | Nataniel Borges <natanieljr@google.com> | Tue Jun 18 12:57:26 2019 +0000 |
tree | 2fa8b87f2a421222b1f51725f59b1254a7e7c503 | |
parent | 31e6237fdb8ffa3e8493db06097a5478528e46a4 [diff] |
Fix "TypeError: Cannot read property 'x' of null" on SF traces The protobuf definition allows the position attribute not to be defined. Winscope crashes if the position is not defined, instead of assuming it as (x: 0, y: 0) Test: Load a SF protobuf object without the position attribute. Check if Winscope does't crash while loading it. Merged-In: Ib12ba7875f1e7b22819274c1cd9961a1dbfe82cf Change-Id: Ib12ba7875f1e7b22819274c1cd9961a1dbfe82cf