Fix a crash when prerendering a page with video
commit1c43e647a33d6493ad755e1b47bc353cd9a2ae65
authorqinmin@chromium.org <qinmin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 22 Nov 2013 08:23:52 +0000 (22 08:23 +0000)
committerqinmin@chromium.org <qinmin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 22 Nov 2013 08:23:52 +0000 (22 08:23 +0000)
tree9652b62063dd1eb4fcc3f6e4613a6ee0cd1bbfdf
parent2cddef426cf2d25e79a734508b029c89daa9f0cd
Fix a crash when prerendering a page with video

WebContents may not have a ContentViewCoreImpl in this case.
We need to check the pointer before using it.

BUG=321676

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236728 0039d316-1c4b-4281-b951-d872f2087c98
content/browser/media/android/browser_media_player_manager.cc