Index: chrome/test/base/tracing.cc |
diff --git a/chrome/test/base/tracing.cc b/chrome/test/base/tracing.cc |
index 7d6542d5e49e28a103181a84676d765c0cb99b5d..d81e03f3d4bd36fe29c8315895fb6b7ffeebf8e0 100644 |
--- a/chrome/test/base/tracing.cc |
+++ b/chrome/test/base/tracing.cc |
@@ -52,9 +52,9 @@ class InProcessTraceController : public TraceSubscriber { |
} |
// TraceSubscriber |
- virtual void OnTraceDataCollected(const std::string& trace_fragment) |
- OVERRIDE { |
- trace_buffer_.AddFragment(trace_fragment); |
+ virtual void OnTraceDataCollected( |
+ const scoped_refptr<base::RefCountedString>& trace_fragment) OVERRIDE { |
+ trace_buffer_.AddFragment(trace_fragment->data()); |
} |
// For collecting trace data asynchronously. |