Index: Source/platform/graphics/Image.cpp |
diff --git a/Source/platform/graphics/Image.cpp b/Source/platform/graphics/Image.cpp |
index 17b5452a020e6768da17cb555bc938f756991f7b..429b530575d4b843875185422ea4b0639c2fbbc4 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(); |
+} |
+ |
} |