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 47dfe4296a9a8aeefa3b9b225774817d354caf02..9496ee02413786f53da24099d26d626bd113d67a 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp |
@@ -933,6 +933,11 @@ FloatSize HTMLCanvasElement::elementSize() const |
return FloatSize(width(), height()); |
} |
+IntSize HTMLCanvasElement::bitmapSourceSize() const |
+{ |
+ return IntSize(width(), height()); |
+} |
+ |
bool HTMLCanvasElement::isOpaque() const |
{ |
return m_context && !m_context->hasAlpha(); |