Index: webkit/plugins/ppapi/ppapi_plugin_instance.cc |
=================================================================== |
--- webkit/plugins/ppapi/ppapi_plugin_instance.cc (revision 105485) |
+++ webkit/plugins/ppapi/ppapi_plugin_instance.cc (working copy) |
@@ -1194,9 +1194,6 @@ |
if (fullscreen && !frame->isProcessingUserGesture()) |
return false; |
- // Unbind current 2D or 3D graphics context. |
- BindGraphics(pp_instance(), 0); |
- |
VLOG(1) << "Setting fullscreen to " << (fullscreen ? "on" : "off"); |
desired_fullscreen_state_ = fullscreen; |
@@ -1209,12 +1206,6 @@ |
} else { |
container_->element().document().cancelFullScreen(); |
} |
- if (!delay_report) { |
- ReportGeometry(); |
- } else { |
- MessageLoop::current()->PostTask( |
- FROM_HERE, base::Bind(&PluginInstance::ReportGeometry, this)); |
- } |
return true; |
} |