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

Unified Diff: Tools/gdb/webkit.py

Issue 507203003: Remove prettyprinters for JSC::Identifier and JSC::JSString. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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 26fbec5b5d2d393efef43265a29363605532d520..1beea4faca14cbcb1c9297574d7f74f41466bfb8 100644
--- a/Tools/gdb/webkit.py
+++ b/Tools/gdb/webkit.py
@@ -156,21 +156,6 @@ class WTFStringPrinter(StringPrinter):
-class JSCIdentifierPrinter(StringPrinter):
- "Print a JSC::Identifier"
- def to_string(self):
- return WTFStringImplPrinter(self.val['m_string']).to_string()
-
-
-class JSCJSStringPrinter(StringPrinter):
- "Print a JSC::JSString"
- def to_string(self):
- if self.val['m_length'] == 0:
- return ''
-
- return WTFStringImplPrinter(self.val['m_value']).to_string()
-
-
class blinkKURLPrinter(StringPrinter):
"Print a blink::KURL"
def to_string(self):
@@ -314,8 +299,6 @@ def add_pretty_printers():
(re.compile("^blink::LayoutPoint$"), blinkLayoutPointPrinter),
(re.compile("^blink::LayoutSize$"), blinkLayoutSizePrinter),
(re.compile("^blink::QualifiedName$"), blinkQualifiedNamePrinter),
- (re.compile("^JSC::Identifier$"), JSCIdentifierPrinter),
- (re.compile("^JSC::JSString$"), JSCJSStringPrinter),
)
def lookup_function(val):
« 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