| Index: webkit/glue/plugins/pepper_plugin_instance.cc
|
| ===================================================================
|
| --- webkit/glue/plugins/pepper_plugin_instance.cc (revision 66086)
|
| +++ webkit/glue/plugins/pepper_plugin_instance.cc (working copy)
|
| @@ -437,7 +437,6 @@
|
| if (graphics_2d) {
|
| if (!graphics_2d->BindToInstance(this))
|
| return false; // Can't bind to more than one instance.
|
| - bound_graphics_ = graphics_2d;
|
|
|
| // See http://crbug.com/49403: this can be further optimized by keeping the
|
| // old device around and painting from it.
|
| @@ -459,6 +458,7 @@
|
| }
|
|
|
| // BindToInstance will have invalidated the plugin if necessary.
|
| + bound_graphics_ = graphics_2d;
|
| } else if (graphics_3d) {
|
| if (!graphics_3d->BindToInstance(this))
|
| return false;
|
|
|