| Index: Source/core/html/HTMLCanvasElement.cpp
|
| diff --git a/Source/core/html/HTMLCanvasElement.cpp b/Source/core/html/HTMLCanvasElement.cpp
|
| index 5854ae4277969982724c238e14b23bad22b62e98..9a7472bf1ce255d8dd38c5405dd30896bce29f9d 100644
|
| --- a/Source/core/html/HTMLCanvasElement.cpp
|
| +++ b/Source/core/html/HTMLCanvasElement.cpp
|
| @@ -137,7 +137,7 @@ void HTMLCanvasElement::parseAttribute(const QualifiedName& name, const AtomicSt
|
| HTMLElement::parseAttribute(name, value);
|
| }
|
|
|
| -RenderObject* HTMLCanvasElement::createRenderer(RenderStyle* style)
|
| +LayoutObject* HTMLCanvasElement::createRenderer(RenderStyle* style)
|
| {
|
| LocalFrame* frame = document().frame();
|
| if (frame && frame->script().canExecuteScripts(NotAboutToExecuteScript))
|
| @@ -359,7 +359,7 @@ void HTMLCanvasElement::reset()
|
| if (m_context && m_context->is3d() && oldSize != size())
|
| toWebGLRenderingContext(m_context.get())->reshape(width(), height());
|
|
|
| - if (RenderObject* renderer = this->renderer()) {
|
| + if (LayoutObject* renderer = this->renderer()) {
|
| if (renderer->isCanvas()) {
|
| if (oldSize != size()) {
|
| toRenderHTMLCanvas(renderer)->canvasSizeChanged();
|
|
|