Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Unified Diff: remoting/host/desktop_resizer_mac.cc

Issue 1849343003: mac: Remove IsOSSnowLeopard(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « printing/pdf_metafile_cg_mac.cc ('k') | sandbox/mac/bootstrap_sandbox_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « printing/pdf_metafile_cg_mac.cc ('k') | sandbox/mac/bootstrap_sandbox_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698