DescriptionHTMLPluginElement should use setNeedsCompositingUpdate()
HTMLPluginElement::loadPlugin was using scheduleSVGFilterLayerUpdateHack()
to update the compositing state of the LayoutEmbeddedObject. Instead we
can use the setNeedsCompositingUpdate() API which will cause only a
compositing update and skip the wasteful style recalc on the <embed> or
<object>.
I also moved the call to updateSelfPaintingLayer into
setNeedsCompositingUpdate since all callers of it actually want to do
that too.
After this the only user of scheduleSVGFilterLayerUpdateHack is actually
SVG filters.
R=ojan@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200861
Patch Set 1 #
Messages
Total messages: 10 (4 generated)
|