| 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 e41d489edeb56990f82806cd01077852fbf824eb..f59b4d3adf334885c965b5c13ea41e7ea568a5c4 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.
|
|
|