| Index: Source/core/html/HTMLCanvasElement.cpp
|
| diff --git a/Source/core/html/HTMLCanvasElement.cpp b/Source/core/html/HTMLCanvasElement.cpp
|
| index 7cdc91b8fb9600d5f5d035b92dc15a92d23a79c4..df04635375c61805b96f590dd45f8b2a1ce0d253 100644
|
| --- a/Source/core/html/HTMLCanvasElement.cpp
|
| +++ b/Source/core/html/HTMLCanvasElement.cpp
|
| @@ -45,7 +45,7 @@
|
| #include "core/html/canvas/WebGLContextEvent.h"
|
| #include "core/html/canvas/WebGLRenderingContext.h"
|
| #include "core/layout/Layer.h"
|
| -#include "core/rendering/RenderHTMLCanvas.h"
|
| +#include "core/layout/LayoutHTMLCanvas.h"
|
| #include "platform/MIMETypeRegistry.h"
|
| #include "platform/RuntimeEnabledFeatures.h"
|
| #include "platform/graphics/BitmapImage.h"
|
| @@ -142,7 +142,7 @@ LayoutObject* HTMLCanvasElement::createRenderer(const LayoutStyle& style)
|
| {
|
| LocalFrame* frame = document().frame();
|
| if (frame && frame->script().canExecuteScripts(NotAboutToExecuteScript))
|
| - return new RenderHTMLCanvas(this);
|
| + return new LayoutHTMLCanvas(this);
|
| return HTMLElement::createRenderer(style);
|
| }
|
|
|
| @@ -378,7 +378,7 @@ void HTMLCanvasElement::reset()
|
| if (LayoutObject* renderer = this->renderer()) {
|
| if (renderer->isCanvas()) {
|
| if (oldSize != size()) {
|
| - toRenderHTMLCanvas(renderer)->canvasSizeChanged();
|
| + toLayoutHTMLCanvas(renderer)->canvasSizeChanged();
|
| if (renderBox() && renderBox()->hasAcceleratedCompositing())
|
| renderBox()->contentChanged(CanvasChanged);
|
| }
|
|
|