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

Unified Diff: jingle/glue/thread_wrapper.cc

Issue 2159753002: Do not access member fStop_ variable webrtc::Thread class directly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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: jingle/glue/thread_wrapper.cc
diff --git a/jingle/glue/thread_wrapper.cc b/jingle/glue/thread_wrapper.cc
index f49c6e9cd745d79a9f7fba857bc57f86c2e23c0c..c3001829ee915a9a4f598a8d3dbb868ed398b8fc 100644
--- a/jingle/glue/thread_wrapper.cc
+++ b/jingle/glue/thread_wrapper.cc
@@ -161,7 +161,7 @@ void JingleThreadWrapper::Send(const rtc::Location& posted_from,
rtc::MessageHandler* handler,
uint32_t id,
rtc::MessageData* data) {
- if (fStop_)
+ if (IsQuitting())
Nicolas Zea 2016/07/18 17:40:31 IsQuitting seems to be overriden below to just NOT
Sergey Ulanov 2016/07/18 19:53:06 I think you can just remove these these two lines.
return;
JingleThreadWrapper* current_thread = JingleThreadWrapper::current();
« 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