Sets the OS stack trace getter. Does nothing if the input and the current OS stack trace getter are the same; otherwise, deletes the old getter and makes the input the current getter.
| 7048 | // the same; otherwise, deletes the old getter and makes the input the |
| 7049 | // current getter. |
| 7050 | void UnitTestImpl::set_os_stack_trace_getter( |
| 7051 | OsStackTraceGetterInterface* getter) { |
| 7052 | if (os_stack_trace_getter_ != getter) { |
| 7053 | delete os_stack_trace_getter_; |
| 7054 | os_stack_trace_getter_ = getter; |
| 7055 | } |
| 7056 | } |
| 7057 | |
| 7058 | // Returns the current OS stack trace getter if it is not NULL; |
| 7059 | // otherwise, creates an OsStackTraceGetter, makes it the current |
nothing calls this directly
no outgoing calls
no test coverage detected