Fix ScreenCapturerLinux not to use XDamage when requested.

When moving this code to webrtc I added line "use_x_damage=true" for
debugging and forgot to remove it when landing this code, so the
capturer always tries to use XDamage.

BUG=crbug.com/263003
R=wez@chromium.org

Review URL: https://webrtc-codereview.appspot.com/1854004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4387 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
sergeyu@chromium.org 2013-07-23 20:05:42 +00:00
parent 678cf29d8b
commit d102e66ef9

View File

@ -173,8 +173,6 @@ ScreenCapturerLinux::~ScreenCapturerLinux() {
}
bool ScreenCapturerLinux::Init(bool use_x_damage) {
use_x_damage = true;
// TODO(ajwong): We should specify the display string we are attaching to
// in the constructor.
display_ = XOpenDisplay(NULL);