Bug 1346078: Remove nsAString_internal and just use the nsAString name directly. r=bsmedberg

MozReview-Commit-ID: DWDEDMIVKm7
This commit is contained in:
David Major committed 2017-03-10 15:17:23 +13:00
1 parent 03201afc0b
commit 82dee330c1
16 files changed
+23 -36

No files matched your search

+2 -2
View File
@@ -134,13 +134,13 @@ the "expr -R -- EXPR" command can be used to show its actual member variables.
(lldb) frame info
frame #0: 0x000000010400cfea XUL`nsCSSParser::ParseProperty(this=0x00007fff5fbf5248, aPropID=eCSSProperty_margin_top, aPropValue=0x00007fff5fbf53f8, aSheetURI=0x0000000115ae8c00, aBaseURI=0x0000000115ae8c00, aSheetPrincipal=0x000000010ff9e040, aDeclaration=0x00000001826fd580, aChanged=0x00007fff5fbf5247, aIsImportant=false, aIsSVGMode=false) + 74 at nsCSSParser.cpp:12851
(lldb) p aPropValue
(const nsAString_internal) $16 = u"-25px"
(const nsAString) $16 = u"-25px"
(lldb) p this
(nsHTMLDocument *) $18 = 0x0000000115b56000
(lldb) p mContentType
(nsCString) $19 = {
nsACString_internal = "text/html"
nsACString = "text/html"
}
* nscolor
+2 -2
View File
@@ -92,8 +92,8 @@ def callfunc(debugger, command, result, dict):
debugger.HandleCommand('print ((void(*)%s)0x%0x)(%s' % (arg_types, sym.addr.GetLoadAddress(target), args))
def init(debugger):
debugger.HandleCommand("type summary add nsAString_internal -F lldbutils.general.summarize_string")
debugger.HandleCommand("type summary add nsACString_internal -F lldbutils.general.summarize_string")
debugger.HandleCommand("type summary add nsAString -F lldbutils.general.summarize_string")
debugger.HandleCommand("type summary add nsACString -F lldbutils.general.summarize_string")
debugger.HandleCommand("type summary add nsFixedString -F lldbutils.general.summarize_string")
debugger.HandleCommand("type summary add nsFixedCString -F lldbutils.general.summarize_string")
debugger.HandleCommand("type summary add nsAutoString -F lldbutils.general.summarize_string")