Index: base/debug/trace_event.h |
diff --git a/base/debug/trace_event.h b/base/debug/trace_event.h |
index d88e9017caa8fe0b51ee88c09a8faeb3f85ff508..8372ba44f26aeda1dc38fc959f716a86b5d9b91a 100644 |
--- a/base/debug/trace_event.h |
+++ b/base/debug/trace_event.h |
@@ -488,7 +488,10 @@ namespace internal { |
// Used by TRACE_EVENTx macro. Do not use directly. |
class BASE_API TraceEndOnScopeClose { |
public: |
- TraceEndOnScopeClose() : p_data_(NULL) {} |
+ TraceEndOnScopeClose() |
+ : p_data_(NULL) { |
vandebo (ex-Chrome)
2011/06/21 22:34:44
nit: IIRC this can stay on the previous line.
James Hawkins
2011/06/21 22:45:05
On 2011/06/21 22:34:44, vandebo wrote:
Done.
|
+ memset(&data_, 0, sizeof(data)); |
+ } |
~TraceEndOnScopeClose() { |
if (p_data_) |
AddEventIfEnabled(); |