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

Unified Diff: remoting/host/disconnect_window_mac.mm

Issue 2911893003: Deprecate NonThreadSafe in remoting in favor of SequenceChecker. (Closed)
Patch Set: Created 3 years, 7 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 | « remoting/host/disconnect_window_linux.cc ('k') | remoting/host/disconnect_window_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/disconnect_window_mac.mm
diff --git a/remoting/host/disconnect_window_mac.mm b/remoting/host/disconnect_window_mac.mm
index 0d03b86709201564e52e7517d5bb015749a74974..d8d9c8de49c247fb38ae8fa7616875a1ac03be7f 100644
--- a/remoting/host/disconnect_window_mac.mm
+++ b/remoting/host/disconnect_window_mac.mm
@@ -48,7 +48,7 @@ DisconnectWindowMac::DisconnectWindowMac()
}
DisconnectWindowMac::~DisconnectWindowMac() {
- DCHECK(CalledOnValidThread());
+ DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
// DisconnectWindowController is responsible for releasing itself in its
// windowWillClose: method.
@@ -58,7 +58,7 @@ DisconnectWindowMac::~DisconnectWindowMac() {
void DisconnectWindowMac::Start(
const base::WeakPtr<ClientSessionControl>& client_session_control) {
- DCHECK(CalledOnValidThread());
+ DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
DCHECK(client_session_control);
DCHECK(window_controller_ == nil);
« no previous file with comments | « remoting/host/disconnect_window_linux.cc ('k') | remoting/host/disconnect_window_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698