summaryrefslogtreecommitdiffstats
path: root/jingle
diff options
context:
space:
mode:
authorronghuawu@chromium.org <ronghuawu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-18 03:37:47 +0000
committerronghuawu@chromium.org <ronghuawu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-18 03:37:47 +0000
commit58cc8bfb2be9033cb40c0b9dc9e40e2df568b100 (patch)
treea903739980514df9decb9e826ff6cfbe8d56bd55 /jingle
parent38d0b2d49f614e30ee9d6c9ce3c1b1c66fab3dfa (diff)
downloadchromium_src-58cc8bfb2be9033cb40c0b9dc9e40e2df568b100.zip
chromium_src-58cc8bfb2be9033cb40c0b9dc9e40e2df568b100.tar.gz
chromium_src-58cc8bfb2be9033cb40c0b9dc9e40e2df568b100.tar.bz2
Roll libjingle to r108:
* Add app/webrtc. * Add examples/peerconnection. * Bug fixes. Roll webrtc to 1311. BUG=110255 TEST=build and unit tests Review URL: http://codereview.chromium.org/9174012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118031 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'jingle')
-rw-r--r--jingle/glue/thread_wrapper.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/jingle/glue/thread_wrapper.cc b/jingle/glue/thread_wrapper.cc
index f92621f..1955a2d 100644
--- a/jingle/glue/thread_wrapper.cc
+++ b/jingle/glue/thread_wrapper.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -49,7 +49,7 @@ JingleThreadWrapper::JingleThreadWrapper(MessageLoop* message_loop)
pending_send_event_(true, false) {
DCHECK_EQ(message_loop_, MessageLoop::current());
- talk_base::ThreadManager::SetCurrent(this);
+ talk_base::ThreadManager::Instance()->SetCurrentThread(this);
talk_base::MessageQueueManager::Instance()->Add(this);
message_loop_->AddDestructionObserver(this);
@@ -63,7 +63,7 @@ void JingleThreadWrapper::WillDestroyCurrentMessageLoop() {
DCHECK_EQ(talk_base::Thread::Current(), current());
UnwrapCurrent();
g_jingle_thread_wrapper.Get().Set(NULL);
- talk_base::ThreadManager::SetCurrent(NULL);
+ talk_base::ThreadManager::Instance()->SetCurrentThread(NULL);
talk_base::MessageQueueManager::Instance()->Remove(this);
message_loop_->RemoveDestructionObserver(this);
delete this;