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

Unified Diff: webrtc/base/thread.h

Issue 2675173003: Adding "adapter" ORTC objects on top of ChannelManager/BaseChannel/etc. (Closed)
Patch Set: Created 3 years, 10 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: webrtc/base/thread.h
diff --git a/webrtc/base/thread.h b/webrtc/base/thread.h
index 97e69415cd3dba6098c022edfd7968a705c7c357..bb8f7d667f9c77ac37602fe752c5a62f18faa685 100644
--- a/webrtc/base/thread.h
+++ b/webrtc/base/thread.h
@@ -168,7 +168,7 @@ class LOCKABLE Thread : public MessageQueue {
ReturnT Invoke(const Location& posted_from, const FunctorT& functor) {
FunctorMessageHandler<ReturnT, FunctorT> handler(functor);
InvokeInternal(posted_from, &handler);
- return handler.result();
+ return handler.moved_result();
pthatcher1 2017/02/08 01:33:49 This seems like a big enough change to warrant its
Taylor Brandstetter 2017/02/10 00:19:45 Done.
}
// From MessageQueue

Powered by Google App Engine
This is Rietveld 408576698