| Index: base/threading/post_task_and_reply_impl.cc
|
| diff --git a/base/message_loop_proxy.cc b/base/threading/post_task_and_reply_impl.cc
|
| similarity index 92%
|
| copy from base/message_loop_proxy.cc
|
| copy to base/threading/post_task_and_reply_impl.cc
|
| index c8217042fe6a540c2df3309d59a3caf7c1a389a2..192198b8373aa4f5ca690ddafb69edbe05170226 100644
|
| --- a/base/message_loop_proxy.cc
|
| +++ b/base/threading/post_task_and_reply_impl.cc
|
| @@ -2,10 +2,11 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "base/message_loop_proxy.h"
|
| +#include "base/threading/post_task_and_reply_impl.h"
|
|
|
| #include "base/bind.h"
|
| #include "base/location.h"
|
| +#include "base/message_loop_proxy.h"
|
|
|
| namespace base {
|
|
|
| @@ -67,13 +68,9 @@ class PostTaskAndReplyRelay {
|
|
|
| } // namespace
|
|
|
| -MessageLoopProxy::MessageLoopProxy() {
|
| -}
|
| -
|
| -MessageLoopProxy::~MessageLoopProxy() {
|
| -}
|
| +namespace internal {
|
|
|
| -bool MessageLoopProxy::PostTaskAndReply(
|
| +bool PostTaskAndReplyImpl::PostTaskAndReply(
|
| const tracked_objects::Location& from_here,
|
| const Closure& task,
|
| const Closure& reply) {
|
| @@ -88,8 +85,6 @@ bool MessageLoopProxy::PostTaskAndReply(
|
| return true;
|
| }
|
|
|
| -void MessageLoopProxy::OnDestruct() const {
|
| - delete this;
|
| -}
|
| +} // namespace internal
|
|
|
| } // namespace base
|
|
|