Index: third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTestHelpers.h |
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTestHelpers.h b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTestHelpers.h |
index 10fe691517d3b2756dc4d445b2b60cd9f532c437..bd42a866a51c2effed7cb5bb130ec12e73da5d3e 100644 |
--- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTestHelpers.h |
+++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTestHelpers.h |
@@ -385,7 +385,7 @@ class DrawingBufferForTests : public DrawingBuffer { |
drawing_buffer->BeginDestruction(); |
return nullptr; |
} |
- return drawing_buffer.Release(); |
+ return drawing_buffer; |
} |
DrawingBufferForTests( |