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

Unified Diff: remoting/host/continue_window_linux.cc

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/continue_window.cc ('k') | remoting/host/continue_window_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/continue_window_linux.cc
diff --git a/remoting/host/continue_window_linux.cc b/remoting/host/continue_window_linux.cc
index bdbe724485f1c2c5a8206b695839007d95824d43..5092781ec9c2370d468610b43479bfbcab0753bd 100644
--- a/remoting/host/continue_window_linux.cc
+++ b/remoting/host/continue_window_linux.cc
@@ -49,7 +49,7 @@ ContinueWindowGtk::~ContinueWindowGtk() {
}
void ContinueWindowGtk::ShowUi() {
- DCHECK(CalledOnValidThread());
+ DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
DCHECK(!continue_window_);
CreateWindow();
@@ -58,7 +58,7 @@ void ContinueWindowGtk::ShowUi() {
}
void ContinueWindowGtk::HideUi() {
- DCHECK(CalledOnValidThread());
+ DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
if (continue_window_) {
gtk_widget_destroy(continue_window_);
@@ -67,7 +67,7 @@ void ContinueWindowGtk::HideUi() {
}
void ContinueWindowGtk::CreateWindow() {
- DCHECK(CalledOnValidThread());
+ DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
DCHECK(!continue_window_);
GtkDialogFlags flags = GTK_DIALOG_MODAL;
@@ -111,7 +111,7 @@ void ContinueWindowGtk::CreateWindow() {
}
void ContinueWindowGtk::OnResponse(GtkDialog* dialog, int response_id) {
- DCHECK(CalledOnValidThread());
+ DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
if (response_id == GTK_RESPONSE_OK) {
ContinueSession();
« no previous file with comments | « remoting/host/continue_window.cc ('k') | remoting/host/continue_window_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698