Chromium Code Reviews| Index: Source/core/html/HTMLCanvasElement.cpp |
| diff --git a/Source/core/html/HTMLCanvasElement.cpp b/Source/core/html/HTMLCanvasElement.cpp |
| index 398e2314071092d48ecda73f84c3e49c5c430842..00109c56340ec0f9da664742c74b9ffb0edcdae9 100644 |
| --- a/Source/core/html/HTMLCanvasElement.cpp |
| +++ b/Source/core/html/HTMLCanvasElement.cpp |
| @@ -679,11 +679,11 @@ void HTMLCanvasElement::ensureUnacceleratedImageBuffer() |
| m_didFailToCreateImageBuffer = !m_imageBuffer; |
| } |
| -Image* HTMLCanvasElement::copiedImage(SourceDrawingBuffer sourceBuffer) const |
| +Image* HTMLCanvasElement::copiedImage() const |
|
dshwang
2014/11/27 21:31:10
@junov, now it's fixed, as you mentioned in https:
dshwang
2014/12/08 14:09:24
I drop this fix because ImageBitmap still use copi
|
| { |
| if (!m_copiedImage && buffer()) { |
| if (m_context && m_context->is3d()) |
| - m_context->paintRenderingResultsToCanvas(sourceBuffer); |
| + m_context->paintRenderingResultsToCanvas(FrontBuffer); |
| m_copiedImage = buffer()->copyImage(CopyBackingStore, Unscaled); |
| updateExternallyAllocatedMemory(); |
| } |