Index: Source/core/html/HTMLCanvasElement.cpp |
diff --git a/Source/core/html/HTMLCanvasElement.cpp b/Source/core/html/HTMLCanvasElement.cpp |
index a4dcc991917028029c9db75fa8c1f25d658ebfdc..2977326c8df75635b7dbf2e29ab0e7ccee58b5ec 100644 |
--- a/Source/core/html/HTMLCanvasElement.cpp |
+++ b/Source/core/html/HTMLCanvasElement.cpp |
@@ -785,11 +785,6 @@ void HTMLCanvasElement::discardImageBuffer() |
updateExternallyAllocatedMemory(); |
} |
-bool HTMLCanvasElement::hasValidImageBuffer() const |
-{ |
- return m_imageBuffer && m_imageBuffer->isSurfaceValid(); |
-} |
- |
void HTMLCanvasElement::clearCopiedImage() |
{ |
if (m_copiedImage) { |