Stop using WebMediaPlayerClient::preload() and volume()
There is a "FIXME: Remove once calls on the Chromium-side have been removed" for volume() in WebMediaPlayerClient.h. preload() is similarly strange layering-wise, so get rid of that as well. Simply store the values when they cannot immediately be forwarded to the internal object. In the case of WebMediaPlayerImpl::setVolume(), the value can always be used immediately, so the setVolume() in DoLoad() appears to simply have been unnecessary. BUG=401415 Review URL: https://codereview.chromium.org/443393002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288080 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment