diff options
author | ronghuawu@chromium.org <ronghuawu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-18 05:01:24 +0000 |
---|---|---|
committer | ronghuawu@chromium.org <ronghuawu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-18 05:01:24 +0000 |
commit | e08c430b9badfdf1946c2d8b30bec3ecd71342a2 (patch) | |
tree | 6dbd3d0548011ce490b26e69eb0cd3103f53453b /jingle/glue/thread_wrapper.cc | |
parent | 872068906ee8a04b493d667ccfb37e3360fbf591 (diff) | |
download | chromium_src-e08c430b9badfdf1946c2d8b30bec3ecd71342a2.zip chromium_src-e08c430b9badfdf1946c2d8b30bec3ecd71342a2.tar.gz chromium_src-e08c430b9badfdf1946c2d8b30bec3ecd71342a2.tar.bz2 |
Revert 118031 - 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
TBR=ronghuawu@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9253007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118058 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'jingle/glue/thread_wrapper.cc')
-rw-r--r-- | jingle/glue/thread_wrapper.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jingle/glue/thread_wrapper.cc b/jingle/glue/thread_wrapper.cc index 1955a2d..f92621f 100644 --- a/jingle/glue/thread_wrapper.cc +++ b/jingle/glue/thread_wrapper.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 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::Instance()->SetCurrentThread(this); + talk_base::ThreadManager::SetCurrent(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::Instance()->SetCurrentThread(NULL); + talk_base::ThreadManager::SetCurrent(NULL); talk_base::MessageQueueManager::Instance()->Remove(this); message_loop_->RemoveDestructionObserver(this); delete this; |