| Index: Source/core/html/HTMLCanvasElement.cpp
|
| diff --git a/Source/core/html/HTMLCanvasElement.cpp b/Source/core/html/HTMLCanvasElement.cpp
|
| index f8d40d8c7c2cabae1e3be29cb5c1a0aa0237d5e9..5854ae4277969982724c238e14b23bad22b62e98 100644
|
| --- a/Source/core/html/HTMLCanvasElement.cpp
|
| +++ b/Source/core/html/HTMLCanvasElement.cpp
|
| @@ -43,8 +43,8 @@
|
| #include "core/html/canvas/WebGLContextAttributes.h"
|
| #include "core/html/canvas/WebGLContextEvent.h"
|
| #include "core/html/canvas/WebGLRenderingContext.h"
|
| +#include "core/layout/Layer.h"
|
| #include "core/rendering/RenderHTMLCanvas.h"
|
| -#include "core/rendering/RenderLayer.h"
|
| #include "platform/MIMETypeRegistry.h"
|
| #include "platform/RuntimeEnabledFeatures.h"
|
| #include "platform/graphics/BitmapImage.h"
|
| @@ -280,7 +280,7 @@ void HTMLCanvasElement::didFinalizeFrame()
|
| m_dirtyRect.intersect(srcRect);
|
| if (RenderBox* ro = renderBox()) {
|
| FloatRect mappedDirtyRect = mapRect(m_dirtyRect, srcRect, ro->contentBoxRect());
|
| - // For querying RenderLayer::compositingState()
|
| + // For querying Layer::compositingState()
|
| // FIXME: is this invalidation using the correct compositing state?
|
| DisableCompositingQueryAsserts disabler;
|
| ro->invalidatePaintRectangle(enclosingIntRect(mappedDirtyRect));
|
|
|