pRevert 5371 "Revert 5367 "Update talk to 59410372.""
> Revert 5367 "Update talk to 59410372." > > > Update talk to 59410372. > > > > R=jiayl@webrtc.org, wu@webrtc.org > > > > Review URL: https://webrtc-codereview.appspot.com/6929004 > > TBR=mallinath@webrtc.org > > Review URL: https://webrtc-codereview.appspot.com/6999004 TBR=henrika@webrtc.org Review URL: https://webrtc-codereview.appspot.com/7109004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5381 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -32,8 +32,13 @@
|
||||
#include "talk/base/common.h"
|
||||
#include "talk/base/logging.h"
|
||||
#include "talk/base/messagequeue.h"
|
||||
#if defined(__native_client__)
|
||||
#include "talk/base/nullsocketserver.h"
|
||||
typedef talk_base::NullSocketServer DefaultSocketServer;
|
||||
#else
|
||||
#include "talk/base/physicalsocketserver.h"
|
||||
|
||||
typedef talk_base::PhysicalSocketServer DefaultSocketServer;
|
||||
#endif
|
||||
|
||||
namespace talk_base {
|
||||
|
||||
@@ -129,7 +134,7 @@ MessageQueue::MessageQueue(SocketServer* ss)
|
||||
// server, and provide it to the MessageQueue, since the Thread controls
|
||||
// the I/O model, and MQ is agnostic to those details. Anyway, this causes
|
||||
// messagequeue_unittest to depend on network libraries... yuck.
|
||||
default_ss_.reset(new PhysicalSocketServer());
|
||||
default_ss_.reset(new DefaultSocketServer());
|
||||
ss_ = default_ss_.get();
|
||||
}
|
||||
ss_->SetMessageQueue(this);
|
||||
|
Reference in New Issue
Block a user