Index: Source/platform/graphics/Image.cpp |
diff --git a/Source/platform/graphics/Image.cpp b/Source/platform/graphics/Image.cpp |
index 55a8ac41462db62ea55f91c17508dfbf7162daa8..4248cf6180d9de491c6205dbad92d1225865bf9b 100644 |
--- a/Source/platform/graphics/Image.cpp |
+++ b/Source/platform/graphics/Image.cpp |
@@ -237,4 +237,11 @@ void Image::computeIntrinsicDimensions(Length& intrinsicWidth, Length& intrinsic |
intrinsicHeight = Length(intrinsicRatio.height(), Fixed); |
} |
+PassRefPtr<Image> Image::imageForDefaultFrame() |
+{ |
+ RefPtr<Image> image(this); |
+ |
+ return image.release(); |
+} |
+ |
} |