DescriptionFix handling of Mac accelerated plugin layers across tab switch.
A few related changes to make tab switching work with accelerated plugins:
- Re-attach our layer to the view layer whenever it changes; using setWantsLayer: creates a layer that AppKit manages at will, so we can't rely on it.
- Override setFrame: on our layer to ignore bogus values sent by the view's layer.
- Notify the accelerated surface when our parent (and thus drawing context) changes, so it can associate its texture with the new context.
BUG=37701
TEST=Load the pepper test plugin (or a CA plugin in a build with CA enabled) and switch tabs away and back. The plugin should still be visible.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=42273
Patch Set 1 #
Total comments: 1
Messages
Total messages: 3 (0 generated)
|