diff options
author | polina@google.com <polina@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-14 18:29:34 +0000 |
---|---|---|
committer | polina@google.com <polina@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-14 18:29:34 +0000 |
commit | 2fce6124647c2836af7883a9d2eebad2d17b184e (patch) | |
tree | 536c17e4160d1e48aa802ef12f6f25d5dd7453e2 /webkit | |
parent | a3ee735fe9feb7394231ad867ef42aaea45c011d (diff) | |
download | chromium_src-2fce6124647c2836af7883a9d2eebad2d17b184e.zip chromium_src-2fce6124647c2836af7883a9d2eebad2d17b184e.tar.gz chromium_src-2fce6124647c2836af7883a9d2eebad2d17b184e.tar.bz2 |
PPAPI Fullscreen: remove redundant code errouneously inherited from
FlashFullscreen.
Tested with ppapi/native_client/tests/ppapi_browser/ppb_fullscreen
upgraded with 2D graphics. Will commit in a separate patch.
BUG=41780
TEST=ppapi/tests/test_fullscreen + see above
Review URL: http://codereview.chromium.org/8275031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105530 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/plugins/ppapi/ppapi_plugin_instance.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/webkit/plugins/ppapi/ppapi_plugin_instance.cc b/webkit/plugins/ppapi/ppapi_plugin_instance.cc index 307d3af..91ca489 100644 --- a/webkit/plugins/ppapi/ppapi_plugin_instance.cc +++ b/webkit/plugins/ppapi/ppapi_plugin_instance.cc @@ -1204,9 +1204,6 @@ bool PluginInstance::SetFullscreen(bool fullscreen, bool delay_report) { 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; @@ -1219,12 +1216,6 @@ bool PluginInstance::SetFullscreen(bool fullscreen, bool delay_report) { } else { container_->element().document().cancelFullScreen(); } - if (!delay_report) { - ReportGeometry(); - } else { - MessageLoop::current()->PostTask( - FROM_HERE, base::Bind(&PluginInstance::ReportGeometry, this)); - } return true; } |