| Index: third_party/WebKit/Source/platform/graphics/Image.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/Image.cpp b/third_party/WebKit/Source/platform/graphics/Image.cpp
|
| index 84b1a39884bd20cdb0433b0eaa08c8c809decdfe..a49261b3ec4ac84eaa30270d47565314755c34be 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/Image.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/Image.cpp
|
| @@ -72,7 +72,7 @@ PassRefPtr<Image> Image::LoadPlatformResource(const char* name) {
|
|
|
| RefPtr<Image> image = BitmapImage::Create();
|
| image->SetData(resource, true);
|
| - return image.Release();
|
| + return image;
|
| }
|
|
|
| bool Image::SupportsType(const String& type) {
|
| @@ -341,7 +341,7 @@ void Image::DrawPattern(GraphicsContext& context,
|
| PassRefPtr<Image> Image::ImageForDefaultFrame() {
|
| RefPtr<Image> image(this);
|
|
|
| - return image.Release();
|
| + return image;
|
| }
|
|
|
| PaintImage Image::PaintImageForCurrentFrame() {
|
|
|