Index: third_party/WebKit/Source/platform/graphics/BitmapImage.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/BitmapImage.cpp b/third_party/WebKit/Source/platform/graphics/BitmapImage.cpp |
index 1382da4b2248d87cb4a894fc359f86394e487e0d..e786161060a0520e0ae10e4b40c4c1dc2d0a4d37 100644 |
--- a/third_party/WebKit/Source/platform/graphics/BitmapImage.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/BitmapImage.cpp |
@@ -56,7 +56,7 @@ PassRefPtr<BitmapImage> BitmapImage::CreateWithOrientationForTesting( |
result->frames_[0].orientation_ = orientation; |
if (orientation.UsesWidthAsHeight()) |
result->size_respecting_orientation_ = result->size_.TransposedSize(); |
- return result.Release(); |
+ return result; |
} |
BitmapImage::BitmapImage(ImageObserver* observer, bool is_multipart) |