diff options
author | qinmin@chromium.org <qinmin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-18 22:43:59 +0000 |
---|---|---|
committer | qinmin@chromium.org <qinmin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-18 22:43:59 +0000 |
commit | d4440cbdeb121b4039f3d707a756023462f48972 (patch) | |
tree | 727ff47d8caef7ac80c8a25d863dc9a1f36f1fd9 /content/browser/browser_plugin/browser_plugin_guest_helper.h | |
parent | 056a8485be5325304fc2c28ab0cecca98e19d687 (diff) | |
download | chromium_src-d4440cbdeb121b4039f3d707a756023462f48972.zip chromium_src-d4440cbdeb121b4039f3d707a756023462f48972.tar.gz chromium_src-d4440cbdeb121b4039f3d707a756023462f48972.tar.bz2 |
Fix a problem that we are showing webpage as background before video starts playing
getDefaultSize() will return the screen width and screen height. So the default size of the surfaceview will occupy the full screen before we get the actual video size.
Using an empty size in this case so that we will show a black background with spinning circle instead of the webpage.
BUG=166417
Review URL: https://chromiumcodereview.appspot.com/11614019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173802 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/browser_plugin/browser_plugin_guest_helper.h')
0 files changed, 0 insertions, 0 deletions