diff --git a/test/core/channel/channel_trace_test.cc b/test/core/channel/channel_trace_test.cc index 8a5ddc2723a..e33277753b5 100644 --- a/test/core/channel/channel_trace_test.cc +++ b/test/core/channel/channel_trace_test.cc @@ -45,7 +45,7 @@ namespace testing { class ChannelNodePeer { public: ChannelNodePeer(ChannelNode* node) : node_(node) {} - ChannelTrace* trace() { return node_->trace_.get(); } + ChannelTrace* trace() { return &node_->trace_; } private: ChannelNode* node_;