Index: webrtc/common_video/i420_buffer_pool_unittest.cc |
diff --git a/webrtc/common_video/i420_buffer_pool_unittest.cc b/webrtc/common_video/i420_buffer_pool_unittest.cc |
index 2110066a928d7e10ce8171bf78d8c6e76d55232b..3e795dbdc4b3f021ca77ef3122b570bb843a5172 100644 |
--- a/webrtc/common_video/i420_buffer_pool_unittest.cc |
+++ b/webrtc/common_video/i420_buffer_pool_unittest.cc |
@@ -51,20 +51,12 @@ TEST(TestI420BufferPool, FailToReuse) { |
EXPECT_NE(v_ptr, buffer->DataV()); |
} |
-TEST(TestI420BufferPool, ExclusiveOwner) { |
- // Check that created buffers are exclusive so that they can be written to. |
- I420BufferPool pool; |
- rtc::scoped_refptr<VideoFrameBuffer> buffer = pool.CreateBuffer(16, 16); |
- EXPECT_TRUE(buffer->IsMutable()); |
-} |
- |
TEST(TestI420BufferPool, FrameValidAfterPoolDestruction) { |
rtc::scoped_refptr<VideoFrameBuffer> buffer; |
{ |
I420BufferPool pool; |
buffer = pool.CreateBuffer(16, 16); |
} |
- EXPECT_TRUE(buffer->IsMutable()); |
EXPECT_EQ(16, buffer->width()); |
EXPECT_EQ(16, buffer->height()); |
// Try to trigger use-after-free errors by writing to y-plane. |