Cleanup: Move a couple argument DeepCopy() calls closer to their use site in ExtensionFunctionDispatcher.

Review URL: https://codereview.chromium.org/133273028

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246202 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 246202
Fix a regression that some audio will pause after chrome switch to background

Because an android issue that MediaPlayer will report size(0, 0) on some video streams initially, our previous change doesn't take a stream as audio only even if its size is empty.
This caused the chrome to pause some of the audio stream if they are mistreated as video.
This patch reverts the previous change. Instead, we changed the logic to call EstablishSurfaceTexturePeer() lazily when size information gets finally reported by the android MediaPlayer.  We need to call this because we may have missed the call when play() gets called.

Tried the patch with the links in crbug/313774, and it works fine now.

BUG=336479

Review URL: https://codereview.chromium.org/138123008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246203 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 246203