Index: Source/web/WebPluginContainerImpl.cpp |
diff --git a/Source/web/WebPluginContainerImpl.cpp b/Source/web/WebPluginContainerImpl.cpp |
index 1ede1ebf3b59372c418c2a9ce9527b859937c63a..6196f7769f4d8f07eb1aaa7f0712a0751f822b2f 100644 |
--- a/Source/web/WebPluginContainerImpl.cpp |
+++ b/Source/web/WebPluginContainerImpl.cpp |
@@ -318,12 +318,6 @@ void WebPluginContainerImpl::setWebLayer(WebLayer* layer) |
#endif |
m_element->setNeedsCompositingUpdate(); |
- // Being composited or not affects the self painting layer bit |
- // on the DeprecatedPaintLayer. |
- if (LayoutPart* layoutObject = m_element->layoutPart()) { |
- ASSERT(layoutObject->hasLayer()); |
- layoutObject->layer()->updateSelfPaintingLayer(); |
- } |
} |
bool WebPluginContainerImpl::supportsPaginatedPrint() const |