Fix DesktopCaptureDevice to handle inverted frames.

Previously DesktopCaptureDevice was passing inverted frames to
OnIncomingCapturedFrame() as is, and it would crash the browser.

BUG=306876

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

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