Index: Source/core/rendering/RenderObject.h |
diff --git a/Source/core/rendering/RenderObject.h b/Source/core/rendering/RenderObject.h |
index 7c9717008de3519e17991f67362e203be307240d..c824a92c9501c93be7a9fbad5132bb04796b4d98 100644 |
--- a/Source/core/rendering/RenderObject.h |
+++ b/Source/core/rendering/RenderObject.h |
@@ -412,9 +412,6 @@ public: |
virtual bool isVideo() const { return false; } |
virtual bool isWidget() const { return false; } |
- // The background of the root element or the body element could propagate up to the canvas. |
- bool backgroundCanBleedToCanvas() const { return isBody() || isDocumentElement(); } |
- |
bool isDocumentElement() const { return document().documentElement() == m_node; } |
// isBody is called from RenderBox::styleWillChange and is thus quite hot. |
bool isBody() const { return node() && node()->hasTagName(HTMLNames::bodyTag); } |