Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1420)

Unified Diff: Source/web/WebPluginContainerImpl.cpp

Issue 1293533005: HTMLPluginElement should use setNeedsCompositingUpdate() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698