Index: jingle/glue/thread_wrapper.cc |
diff --git a/jingle/glue/thread_wrapper.cc b/jingle/glue/thread_wrapper.cc |
index b035dbe521ec64c8b538a25b205b943cc8ef7ef6..5dcf996b9722f95c05c0d3e9aae7594460fbda55 100644 |
--- a/jingle/glue/thread_wrapper.cc |
+++ b/jingle/glue/thread_wrapper.cc |
@@ -51,7 +51,7 @@ scoped_ptr<JingleThreadWrapper> JingleThreadWrapper::WrapTaskRunner( |
scoped_ptr<JingleThreadWrapper> result(new JingleThreadWrapper(task_runner)); |
g_jingle_thread_wrapper.Get().Set(result.get()); |
- return result.Pass(); |
+ return result; |
} |
// static |