Index: webkit/plugins/ppapi/ppapi_plugin_instance.cc |
=================================================================== |
--- webkit/plugins/ppapi/ppapi_plugin_instance.cc (revision 69511) |
+++ webkit/plugins/ppapi/ppapi_plugin_instance.cc (working copy) |
@@ -591,7 +591,7 @@ |
// 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(PP_BlockUntilComplete()); |
+ bound_graphics_3d()->SwapBuffers(); |
} |
position_ = position; |
@@ -639,15 +639,11 @@ |
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( |