Index: third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp b/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp |
index a55d1e433054ac8a0de27e1768d029e066d73c8d..81697b836243ce09f0f7e09c1812f128a48a418f 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp |
@@ -1257,8 +1257,11 @@ PassRefPtr<Image> HTMLCanvasElement::getSourceImageForCanvas( |
return result; |
} |
- if (m_context->getContextType() == CanvasRenderingContext::ContextImageBitmap) |
+ if (m_context->getContextType() == |
+ CanvasRenderingContext::ContextImageBitmap) { |
+ *status = NormalSourceImageStatus; |
return m_context->getImage(hint, reason); |
+ } |
sk_sp<SkImage> skImage; |
// TODO(ccameron): Canvas should produce sRGB images. |