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

Unified Diff: chrome/browser/fullscreen_mac.mm

Issue 2406753003: Mac: Remove deprecated call to CGDisplayIsCaptured IsFullScreenMode(). (Closed)
Patch Set: Remove unrelated patchset dep Created 4 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/fullscreen_mac.mm
diff --git a/chrome/browser/fullscreen_mac.mm b/chrome/browser/fullscreen_mac.mm
index 3720e67ec91185d4f63e1dee200c7f632db678bf..350ea6884220cf97fa507d610482f76b326d3444 100644
--- a/chrome/browser/fullscreen_mac.mm
+++ b/chrome/browser/fullscreen_mac.mm
@@ -9,10 +9,6 @@
#include "base/command_line.h"
bool IsFullScreenMode() {
- // Check if the main display has been captured (by games in particular).
- if (CGDisplayIsCaptured(CGMainDisplayID()))
- return true;
-
NSApplicationPresentationOptions options =
[NSApp currentSystemPresentationOptions];
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698