Index: Source/core/html/HTMLCanvasElement.cpp |
diff --git a/Source/core/html/HTMLCanvasElement.cpp b/Source/core/html/HTMLCanvasElement.cpp |
index 6a8982749eba6bcfc6b9b1bf50f212b5ab25d6eb..1b2f7872cb5c78b667e86b5a46ea6650b49c4cf4 100644 |
--- a/Source/core/html/HTMLCanvasElement.cpp |
+++ b/Source/core/html/HTMLCanvasElement.cpp |
@@ -43,7 +43,6 @@ |
#include "core/html/canvas/WebGLContextEvent.h" |
#include "core/html/canvas/WebGLRenderingContext.h" |
#include "core/rendering/RenderHTMLCanvas.h" |
-#include "core/rendering/RenderLayer.h" |
#include "platform/MIMETypeRegistry.h" |
#include "platform/RuntimeEnabledFeatures.h" |
#include "platform/graphics/Canvas2DImageBufferSurface.h" |
@@ -213,9 +212,6 @@ |
m_dirtyRect.intersect(srcRect); |
if (RenderBox* ro = renderBox()) { |
FloatRect mappedDirtyRect = mapRect(m_dirtyRect, srcRect, ro->contentBoxRect()); |
- // For querying RenderLayer::compositingState() |
- // FIXME: is this invalidation using the correct compositing state? |
- DisableCompositingQueryAsserts disabler; |
ro->invalidatePaintRectangle(enclosingIntRect(mappedDirtyRect)); |
} |
notifyObserversCanvasChanged(m_dirtyRect); |