Index: base/threading/thread.h |
diff --git a/base/threading/thread.h b/base/threading/thread.h |
index 58a4cc27b617935d5fd80a3eaf8b83d2f21ff034..d7451ec58ab9238db1b434c4944523a0180e2506 100644 |
--- a/base/threading/thread.h |
+++ b/base/threading/thread.h |
@@ -113,7 +113,7 @@ class BASE_EXPORT Thread : PlatformThread::Delegate { |
// is gone. |
// TODO(sanjeevr): Look into merging MessageLoop and MessageLoopProxy. |
scoped_refptr<MessageLoopProxy> message_loop_proxy() const { |
- return message_loop_proxy_; |
+ return message_loop_->message_loop_proxy(); |
} |
// Set the name of this thread (for display in debugger too). |
@@ -175,10 +175,6 @@ class BASE_EXPORT Thread : PlatformThread::Delegate { |
// by the created thread. |
MessageLoop* message_loop_; |
- // A MessageLoopProxy implementation that targets this thread. This can |
- // outlive the thread. |
- scoped_refptr<MessageLoopProxy> message_loop_proxy_; |
- |
// Our thread's ID. |
PlatformThreadId thread_id_; |