diff options
author | wez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-12 18:04:37 +0000 |
---|---|---|
committer | wez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-12 18:06:01 +0000 |
commit | 4e719f440bacd643b180d1eb8d7f8d038e08aebe (patch) | |
tree | 6f8ed41a75c5d9607d73f3e5b5e1ab55fcc7fa71 /remoting/test/protocol_perftest.cc | |
parent | 35a27bf878884feab3ac9a41ddeffb493349a51a (diff) | |
download | chromium_src-4e719f440bacd643b180d1eb8d7f8d038e08aebe.zip chromium_src-4e719f440bacd643b180d1eb8d7f8d038e08aebe.tar.gz chromium_src-4e719f440bacd643b180d1eb8d7f8d038e08aebe.tar.bz2 |
Switch DesktopEnvironment to return a DesktopCapturer.
This removes the need for a lot of additional boilerplate in proxying capturer implementations, and makes it possible to implement DesktopEnvironment using any kind of DesktopCapturer, e.g. ScreenCapturer or WindowCapturer, for example.
Review URL: https://codereview.chromium.org/455073004
Cr-Commit-Position: refs/heads/master@{#289020}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289020 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/test/protocol_perftest.cc')
-rw-r--r-- | remoting/test/protocol_perftest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/test/protocol_perftest.cc b/remoting/test/protocol_perftest.cc index 1e1c14a..438cbb8 100644 --- a/remoting/test/protocol_perftest.cc +++ b/remoting/test/protocol_perftest.cc @@ -348,7 +348,7 @@ class IntermittentChangeFrameGenerator : frame_index_(0) {} scoped_ptr<webrtc::DesktopFrame> GenerateFrame( - webrtc::ScreenCapturer::Callback* callback) { + webrtc::DesktopCapturer::Callback* callback) { const int kWidth = 800; const int kHeight = 600; |