Commit 744af7bf authored by Morten Stenshorne's avatar Morten Stenshorne Committed by Commit Bot

Also pretty-print negative LayoutUnit values with lldb.

Also avoid scientific notation;
see https://codereview.chromium.org/1202773002 for a similar change
to the gdb script.

Change-Id: I07ddccd91ddefc1f57abbaabaaecb5e786a052e4
Reviewed-on: https://chromium-review.googlesource.com/894062Reviewed-by: default avatarDirk Pranke <dpranke@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#533093}
parent 8c357a42
......@@ -182,7 +182,7 @@ class WebCoreLayoutUnitProvider:
self.valobj = valobj
def to_string(self):
return "%gpx" % (self.valobj.GetChildMemberWithName('value_').GetValueAsUnsigned(0) / 64.0)
return "%.14gpx" % (self.valobj.GetChildMemberWithName('value_').GetValueAsSigned(0) / 64.0)
class WebCoreLayoutSizeProvider:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment