Revert 237645 "Fix memory leak in DesktopCaptureDeviceAshTest on..."

DesktopCaptureApiTest.ChooseDesktopMedia still failing.

> Fix memory leak in DesktopCaptureDeviceAshTest on Linux Chromium OS ASAN.
> 
> The aura::test::TestWindowDelegate should be held in a scoped_ptr.
> 
> TBR=hshi@chromium.org
> TEST=run content_unittests locally.
> BUG=
> 
> Review URL: https://codereview.chromium.org/93123002

TBR=hshi@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237652 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 237652
Revert 237634 "Implement DesktopCaptureDeviceAsh based on CopyOu..."

DesktopCaptureApiTest.ChooseDesktopMedia still failing.

> Implement DesktopCaptureDeviceAsh based on CopyOutputRequest.
> 
> The new implementation captures the Ash desktop by
> issuing CopyOutputRequest on the layer associated with the root window
> of the desktop.
> 
> Desktop capture using this path is only feasible on Ash at this
> moment, where the aura root window corresponds to the entire desktop.
> On other platforms the aura root window is mapped to a native window.
> 
> Refactor WebContentsVideoCaptureDevice::Impl and share the class
> ThreadSafeCaptureOracle between web contents capture and desktop capture.
> 
> The existing X11 desktop capture path is inefficient especially on ARM
> devices. This CL leverages hardware-accelerated copy and encoding to
> achieve performance on par with tab capture.
> 
> Measured desktop capture frame rate on daisy:
> Before this CL: 6~7 fps
> After this CL: 18~23 fps depending on content
> 
> BUG=310372
> TEST=trybots, verify tab/screen capture locally on devices
> R=creis@chromium.org, sergeyu@chromium.org
> 
> Review URL: https://codereview.chromium.org/64383006

TBR=hshi@chromium.org

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

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