Chromium Code Reviews| Index: appengine/findit/crash/callstack.py |
| diff --git a/appengine/findit/crash/callstack.py b/appengine/findit/crash/callstack.py |
| index 73c9eb3c57cd7a3b6e022214e3015c1119d22820..a0a81529d93a442a21bd5bb0665e98980377f394 100644 |
| --- a/appengine/findit/crash/callstack.py |
| +++ b/appengine/findit/crash/callstack.py |
| @@ -78,9 +78,13 @@ class CallStack(list): |
| '#0 0x32b5982 in get third_party/WebKit/Source/wtf/RefPtr.h:61:43' |
| language_type (CallStackLanguageType): Either CPP or JAVA language. |
| """ |
| - def __init__(self, stack_priority, format_type=CallStackFormatType.DEFAULT): |
| - super(CallStack, self).__init__() |
| - self.priority = stack_priority |
| + def __init__(self, priority, format_type=CallStackFormatType.DEFAULT, |
| + frame_list=None): |
| + if frame_list is None: |
| + frame_list = [] |
| + |
| + super(CallStack, self).__init__(frame_list) |
|
stgao
2016/05/17 00:30:34
This seems addressed in the other CL.
You may wan
Sharu Jiang
2016/05/17 18:34:58
Since that was committed, I just do a rebase :)
|
| + self.priority = priority |
| self.format_type = format_type |
| self.language_type = parse_util.GetLanguageTypeFromFormatType(format_type) |