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

Unified Diff: ui/base/test/scoped_fake_nswindow_fullscreen.mm

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 | « third_party/apple_apsl/CFBase.h ('k') | ui/base/test/scoped_fake_nswindow_fullscreen_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/test/scoped_fake_nswindow_fullscreen.mm
diff --git a/ui/base/test/scoped_fake_nswindow_fullscreen.mm b/ui/base/test/scoped_fake_nswindow_fullscreen.mm
index 0b327692e4c8c875eac938fe7018681d2dbfb538..1fcd8949b61477e13f8684b6b1548902532d31d2 100644
--- a/ui/base/test/scoped_fake_nswindow_fullscreen.mm
+++ b/ui/base/test/scoped_fake_nswindow_fullscreen.mm
@@ -196,10 +196,6 @@ class ScopedFakeNSWindowFullscreen::Impl {
};
ScopedFakeNSWindowFullscreen::ScopedFakeNSWindowFullscreen() {
- // -[NSWindow toggleFullScreen:] does not exist on 10.6, so do nothing.
- if (base::mac::IsOSSnowLeopard())
- return;
-
DCHECK(!g_fake_fullscreen_impl);
impl_.reset(new Impl);
g_fake_fullscreen_impl = impl_.get();
« no previous file with comments | « third_party/apple_apsl/CFBase.h ('k') | ui/base/test/scoped_fake_nswindow_fullscreen_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698