Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2464)

Unified Diff: Tools/gdb/webkit.py

Issue 1202773002: Prevent scientific notation in LayoutUnit gdb prettyprinter. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/gdb/webkit.py
diff --git a/Tools/gdb/webkit.py b/Tools/gdb/webkit.py
index 37419f05d1118a22b56209135b00fec3fd17ba0f..3aa50535a6bee27c5306513eab310bde19d99d33 100644
--- a/Tools/gdb/webkit.py
+++ b/Tools/gdb/webkit.py
@@ -171,7 +171,7 @@ class blinkLayoutUnitPrinter:
self.val = val
def to_string(self):
- return "%gpx" % (self.val['m_value'] / 64.0)
+ return "%.14gpx" % (self.val['m_value'] / 64.0)
class blinkLayoutSizePrinter:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698