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

Unified Diff: remoting/host/capturer_mac.cc

Issue 8384011: Fix up Curtain mode on MacOS 10.7 (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: fix up Jamie's complaints Created 9 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 | remoting/host/curtain_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/capturer_mac.cc
diff --git a/remoting/host/capturer_mac.cc b/remoting/host/capturer_mac.cc
index 5e7b217dd9a30968b47a87b71ea2e163cad4eb38..a4ee518a57d1e661c8f6898b1eb79464948de699 100644
--- a/remoting/host/capturer_mac.cc
+++ b/remoting/host/capturer_mac.cc
@@ -228,8 +228,11 @@ CapturerMac::~CapturerMac() {
ReleaseBuffers();
CGUnregisterScreenRefreshCallback(CapturerMac::ScreenRefreshCallback, this);
CGScreenUnregisterMoveCallback(CapturerMac::ScreenUpdateMoveCallback, this);
- CGDisplayRemoveReconfigurationCallback(
+ CGError err = CGDisplayRemoveReconfigurationCallback(
CapturerMac::DisplaysReconfiguredCallback, this);
+ if (err != kCGErrorSuccess) {
+ LOG(ERROR) << "CGDisplayRemoveReconfigurationCallback " << err;
+ }
}
bool CapturerMac::Init() {
« no previous file with comments | « no previous file | remoting/host/curtain_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698