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

Unified Diff: jingle/glue/thread_wrapper.cc

Issue 14307021: jingle: Use base::MessageLoop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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: jingle/glue/thread_wrapper.cc
diff --git a/jingle/glue/thread_wrapper.cc b/jingle/glue/thread_wrapper.cc
index 3c0635f87032840c28c120f619ac4880c0782dab..f26bc3c113f2dc64085252774d1f4937b865f8a5 100644
--- a/jingle/glue/thread_wrapper.cc
+++ b/jingle/glue/thread_wrapper.cc
@@ -31,9 +31,9 @@ base::LazyInstance<base::ThreadLocalPointer<JingleThreadWrapper> >
// static
void JingleThreadWrapper::EnsureForCurrentMessageLoop() {
if (JingleThreadWrapper::current() == NULL) {
- MessageLoop* message_loop = MessageLoop::current();
- g_jingle_thread_wrapper.Get().Set(new JingleThreadWrapper(
- message_loop->message_loop_proxy()));
+ base::MessageLoop* message_loop = base::MessageLoop::current();
+ g_jingle_thread_wrapper.Get()
+ .Set(new JingleThreadWrapper(message_loop->message_loop_proxy()));
message_loop->AddDestructionObserver(current());
}

Powered by Google App Engine
This is Rietveld 408576698