Plugins, WebGL and video all use slightly different techniques to hook up their compositing layers. Plugins and webgl are done in RenderLayerBacking::updateGraphicsLayerConfiguration(), and video is done in MediaPlayerPrivate::acceleratedRenderingStateChanged(). They should all be similar.
*** This bug has been marked as a duplicate of bug 40643 ***