Index: Source/core/html/HTMLCanvasElement.cpp |
diff --git a/Source/core/html/HTMLCanvasElement.cpp b/Source/core/html/HTMLCanvasElement.cpp |
index 5b854b922621bf458586eab94b3abffe9379e3c5..876843a25930f641952280449ffeda0e9e79dfc9 100644 |
--- a/Source/core/html/HTMLCanvasElement.cpp |
+++ b/Source/core/html/HTMLCanvasElement.cpp |
@@ -741,14 +741,6 @@ GraphicsContext* HTMLCanvasElement::drawingContext() const |
return buffer() ? m_imageBuffer->context() : nullptr; |
} |
-GraphicsContext* HTMLCanvasElement::existingDrawingContext() const |
-{ |
- if (!hasImageBuffer()) |
- return nullptr; |
- |
- return drawingContext(); |
-} |
- |
SkCanvas* HTMLCanvasElement::drawingCanvas() const |
{ |
return buffer() ? m_imageBuffer->canvas() : nullptr; |