| 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 863a5902d7ad72791f99b55ac916b4d2b83961b7..b3af91e1b1a561ae7d2324cc4961a06294699eab 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
|
| @@ -281,6 +281,11 @@ bool HTMLCanvasElement::isPaintable() const
|
| return (m_context && m_context->isPaintable()) || ImageBuffer::canCreateImageBuffer(size());
|
| }
|
|
|
| +bool HTMLCanvasElement::isAccelerated() const
|
| +{
|
| + return m_context && m_context->isAccelerated();
|
| +}
|
| +
|
| void HTMLCanvasElement::didDraw(const FloatRect& rect)
|
| {
|
| if (rect.isEmpty())
|
|
|