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

Unified Diff: remoting/base/stoppable.cc

Issue 10831271: [Chromoting] Adding uiAccess='true' to the remoting_me2me_host.exe's manifest as it is required to … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR feedback. Created 8 years, 4 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
Index: remoting/base/stoppable.cc
diff --git a/remoting/base/stoppable.cc b/remoting/base/stoppable.cc
index 046ac424ac3901612110c24a2e2a68b5bff17924..255abf4ce9d510f939152cc23e967d015971a2d9 100644
--- a/remoting/base/stoppable.cc
+++ b/remoting/base/stoppable.cc
@@ -18,7 +18,9 @@ Stoppable::Stoppable(
}
Stoppable::~Stoppable() {
- DCHECK_EQ(state_, kStopped);
+ // Failing this check means that the object implementing |Stoppable| hasn't
+ // been shutdown correctly.
Wez 2012/08/15 23:22:20 Isn't that implicit in the CHECK itself? You're si
alexeypa (please no reviews) 2012/08/15 23:55:50 I removed the comment.
+ CHECK_EQ(state_, kStopped);
}
void Stoppable::Stop() {

Powered by Google App Engine
This is Rietveld 408576698