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

Unified Diff: Source/core/html/HTMLPlugInElement.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
Index: Source/core/html/HTMLPlugInElement.cpp
diff --git a/Source/core/html/HTMLPlugInElement.cpp b/Source/core/html/HTMLPlugInElement.cpp
index ef7e5870086c20494b7cc1c48cddeaf0b9deda0b..cde57a859cdcdc7988fd99d701bf3571e05cf17c 100644
--- a/Source/core/html/HTMLPlugInElement.cpp
+++ b/Source/core/html/HTMLPlugInElement.cpp
@@ -556,7 +556,8 @@ bool HTMLPlugInElement::loadPlugin(const KURL& url, const String& mimeType, cons
}
setPlaceholder(nullptr);
document().setContainsPlugins();
- scheduleSVGFilterLayerUpdateHack();
+ // TODO(esprehn): WebPluginContainerImpl::setWebLayer also schedules a compositing update, do we need both?
+ setNeedsCompositingUpdate();
// Make sure any input event handlers introduced by the plugin are taken into account.
if (Page* page = document().frame()->page()) {
if (ScrollingCoordinator* scrollingCoordinator = page->scrollingCoordinator())
« no previous file with comments | « Source/core/frame/RemoteFrame.cpp ('k') | Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698