Index: media/formats/mp4/aac_unittest.cc |
diff --git a/media/formats/mp4/aac_unittest.cc b/media/formats/mp4/aac_unittest.cc |
index 645dbe800500eae246924cf0d18510e5b92dd52b..dcf1e426695d41360a2cec83257ea9989a027a1d 100644 |
--- a/media/formats/mp4/aac_unittest.cc |
+++ b/media/formats/mp4/aac_unittest.cc |
@@ -49,13 +49,13 @@ MATCHER_P(UnsupportedAudioProfileLog, profile_string, "") { |
class AACTest : public testing::Test { |
public: |
- AACTest() : media_log_(new StrictMock<MockMediaLog>()) {} |
+ AACTest() {} |
bool Parse(const std::vector<uint8_t>& data) { |
- return aac_.Parse(data, media_log_); |
+ return aac_.Parse(data, &media_log_); |
} |
- scoped_refptr<StrictMock<MockMediaLog>> media_log_; |
+ StrictMock<MockMediaLog> media_log_; |
AAC aac_; |
}; |