| Index: webkit/glue/plugins/pepper_plugin_instance.cc
|
| diff --git a/webkit/glue/plugins/pepper_plugin_instance.cc b/webkit/glue/plugins/pepper_plugin_instance.cc
|
| index f7051785308c90b19a485fc038dd50ab2375a00d..4150d5fc2927404584fd7514c48a1cd13c306487 100644
|
| --- a/webkit/glue/plugins/pepper_plugin_instance.cc
|
| +++ b/webkit/glue/plugins/pepper_plugin_instance.cc
|
| @@ -588,7 +588,7 @@ void PluginInstance::ViewChanged(const gfx::Rect& position,
|
| // potentially been rendered. Plan is to embed resize commands in the
|
| // command buffer just before ViewChanged is called.
|
| bound_graphics_3d()->ResizeBackingTexture(position.size());
|
| - bound_graphics_3d()->SwapBuffers();
|
| + bound_graphics_3d()->SwapBuffers(PP_BlockUntilComplete());
|
| }
|
|
|
| position_ = position;
|
| @@ -636,11 +636,15 @@ void PluginInstance::SetContentAreaFocus(bool has_focus) {
|
| void PluginInstance::ViewInitiatedPaint() {
|
| if (bound_graphics_2d())
|
| bound_graphics_2d()->ViewInitiatedPaint();
|
| + if (bound_graphics_3d())
|
| + bound_graphics_3d()->ViewInitiatedPaint();
|
| }
|
|
|
| void PluginInstance::ViewFlushedPaint() {
|
| if (bound_graphics_2d())
|
| bound_graphics_2d()->ViewFlushedPaint();
|
| + if (bound_graphics_3d())
|
| + bound_graphics_3d()->ViewFlushedPaint();
|
| }
|
|
|
| bool PluginInstance::GetBitmapForOptimizedPluginPaint(
|
|
|