| Index: remoting/host/desktop_resizer_mac.cc
|
| diff --git a/remoting/host/desktop_resizer_mac.cc b/remoting/host/desktop_resizer_mac.cc
|
| index 5c84bd5e30bf43ee379580549c7a726c2fd680f9..d3490a71c41aeda5493833fdba7ea2e1e6b551e4 100644
|
| --- a/remoting/host/desktop_resizer_mac.cc
|
| +++ b/remoting/host/desktop_resizer_mac.cc
|
| @@ -47,7 +47,7 @@ DesktopResizerMac::DesktopResizerMac() {}
|
|
|
| ScreenResolution DesktopResizerMac::GetCurrentResolution() {
|
| CGDirectDisplayID display;
|
| - if (!base::mac::IsOSSnowLeopard() && GetSoleDisplayId(&display)) {
|
| + if (GetSoleDisplayId(&display)) {
|
| CGRect rect = CGDisplayBounds(display);
|
| return ScreenResolution(
|
| webrtc::DesktopSize(rect.size.width, rect.size.height),
|
| @@ -66,7 +66,7 @@ std::list<ScreenResolution> DesktopResizerMac::GetSupportedResolutions(
|
|
|
| void DesktopResizerMac::SetResolution(const ScreenResolution& resolution) {
|
| CGDirectDisplayID display;
|
| - if (base::mac::IsOSSnowLeopard() || !GetSoleDisplayId(&display)) {
|
| + if (!GetSoleDisplayId(&display)) {
|
| return;
|
| }
|
|
|
|
|