commit | b1fb596986d8246b76cac69f870535d4758328e6 | [log] [tgz] |
---|---|---|
author | Siva Velusamy <vsiva@google.com> | Tue Sep 24 12:43:52 2013 -0700 |
committer | Siva Velusamy <vsiva@google.com> | Tue Sep 24 12:43:52 2013 -0700 |
tree | df254f1b81e3c34f7085ff6c123cabef5b0e43e4 | |
parent | bf93ef12c5fa0cadb14640e6d58ae7259f7155e5 [diff] |
perflib: Fix overflow error during zooming. To zoom at a location, we need to first translate that location to the origin, apply the zoom and translate back. The translation was done using integers, and that causes precision errors with longer traces. This CL fixes the issue by using doubles instead of ints. Change-Id: I33286ef66a6928726af4e95b4cfb433b6f7a1a44