Index: third_party/WebKit/Source/modules/imagebitmap/ImageBitmapRenderingContext.cpp |
diff --git a/third_party/WebKit/Source/modules/imagebitmap/ImageBitmapRenderingContext.cpp b/third_party/WebKit/Source/modules/imagebitmap/ImageBitmapRenderingContext.cpp |
index bc5612619ee910980c9c740422295a099f78f112..f6c212940c9e3a85c076239468e6eade42658f17 100644 |
--- a/third_party/WebKit/Source/modules/imagebitmap/ImageBitmapRenderingContext.cpp |
+++ b/third_party/WebKit/Source/modules/imagebitmap/ImageBitmapRenderingContext.cpp |
@@ -4,6 +4,7 @@ |
#include "modules/imagebitmap/ImageBitmapRenderingContext.h" |
+#include "bindings/modules/v8/UnionTypesModules.h" |
#include "core/frame/ImageBitmap.h" |
#include "platform/graphics/GraphicsContext.h" |
#include "platform/graphics/StaticBitmapImage.h" |
@@ -19,6 +20,11 @@ ImageBitmapRenderingContext::ImageBitmapRenderingContext(HTMLCanvasElement* canv |
ImageBitmapRenderingContext::~ImageBitmapRenderingContext() { } |
+void ImageBitmapRenderingContext::setCanvasGetContextResult(RenderingContext& result) |
+{ |
+ result.setImageBitmapRenderingContext(RefPtrWillBeRawPtr<ImageBitmapRenderingContext>(this)); |
sof
2016/03/09 22:05:26
Another PassRefPtr<> needed here.
|
+} |
+ |
void ImageBitmapRenderingContext::transferImageBitmap(ImageBitmap* imageBitmap) |
{ |
m_image = imageBitmap->bitmapImage(); |