| Index: sky/engine/core/html/HTMLCanvasElement.cpp
|
| diff --git a/sky/engine/core/html/HTMLCanvasElement.cpp b/sky/engine/core/html/HTMLCanvasElement.cpp
|
| index 2ae10267fddb3d26428532573ad1d89f64b1e85f..4831ea5da915f5ac1a77283807fc3143806af773 100644
|
| --- a/sky/engine/core/html/HTMLCanvasElement.cpp
|
| +++ b/sky/engine/core/html/HTMLCanvasElement.cpp
|
| @@ -277,13 +277,6 @@ void HTMLCanvasElement::reset()
|
| if (m_context && m_context->is3d() && oldSize != size())
|
| toWebGLRenderingContext(m_context.get())->reshape(width(), height());
|
|
|
| - if (RenderObject* renderer = this->renderer()) {
|
| - if (renderer->isCanvas()) {
|
| - if (hadImageBuffer)
|
| - renderer->setShouldDoFullPaintInvalidation(true);
|
| - }
|
| - }
|
| -
|
| HashSet<RawPtr<CanvasObserver> >::iterator end = m_observers.end();
|
| for (HashSet<RawPtr<CanvasObserver> >::iterator it = m_observers.begin(); it != end; ++it)
|
| (*it)->canvasResized(this);
|
|
|