Index: base/debug/trace_event_impl.cc |
diff --git a/base/debug/trace_event_impl.cc b/base/debug/trace_event_impl.cc |
index 0607a19afd046671aea4a63b03a85d3a212b9ae6..d8f32cc2dd365f3826d247e4908eba7200dd705b 100644 |
--- a/base/debug/trace_event_impl.cc |
+++ b/base/debug/trace_event_impl.cc |
@@ -222,7 +222,7 @@ class TraceBufferRingBuffer : public TraceBuffer { |
TraceBufferChunk* chunk = chunks_[chunk_index]; |
cloned_buffer->chunks_.push_back(chunk ? chunk->Clone().release() : NULL); |
} |
- return cloned_buffer.PassAs<TraceBuffer>(); |
+ return cloned_buffer.Pass(); |
} |
private: |