REGRESSION(r216217): lldb_webkit.py no longer prints out a WTFString, StringImpl...
[WebKit-https.git] / Tools / lldb / lldb_webkit.py
index 3028ec9..f360fa0 100644 (file)
@@ -230,10 +230,10 @@ class WTFStringImplProvider:
         return self.valobj.GetChildMemberWithName('m_length').GetValueAsUnsigned(0)
 
     def get_data8(self):
-        return self.valobj.GetChildAtIndex(2).GetChildMemberWithName('m_data8')
+        return self.valobj.GetChildAtIndex(0).GetChildAtIndex(2).GetChildMemberWithName('m_data8')
 
     def get_data16(self):
-        return self.valobj.GetChildAtIndex(2).GetChildMemberWithName('m_data16')
+        return self.valobj.GetChildAtIndex(0).GetChildAtIndex(2).GetChildMemberWithName('m_data16')
 
     def to_string(self):
         error = lldb.SBError()