Replace parts of WebMediaPlayerParams with WebMediaPlayerImpl accessing RenderThreadImpl directly.

Using WebMediaPlayerParams to pass a MessageLoopProxy, GpuVideoAcceleratorFactories, and MediaLog was more useful when WebMediaPlayerImpl lived in src/webkit/media/. These days it's unnecessary.

TBR=jamesr

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242030 0039d316-1c4b-4281-b951-d872f2087c98
Fix duplicated images when editing pictures.

This is a recent regression after refactoring the gallery at: https://codereview.chromium.org/109973002/.
The root cause of the duplication was an wrong if-check.

TEST=Tested manually, according to the bug's repro steps. The problem is gone.
BUG=328827

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

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