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

Side by Side Diff: base/message_loop_proxy.cc

Issue 3869003: Const-ify RefCountedThreadSafe::AddRef and Release. (Closed)
Patch Set: actually remove the cast Created 10 years, 2 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 unified diff | Download patch
« no previous file with comments | « base/message_loop_proxy.h ('k') | base/message_loop_proxy_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/message_loop_proxy.h" 5 #include "base/message_loop_proxy.h"
6 6
7 namespace base { 7 namespace base {
8 8
9 MessageLoopProxy::MessageLoopProxy() { 9 MessageLoopProxy::MessageLoopProxy() {
10 } 10 }
11 11
12 MessageLoopProxy::~MessageLoopProxy() { 12 MessageLoopProxy::~MessageLoopProxy() {
13 } 13 }
14 14
15 void MessageLoopProxy::OnDestruct() { 15 void MessageLoopProxy::OnDestruct() const {
16 delete this; 16 delete this;
17 } 17 }
18 18
19 } // namespace base 19 } // namespace base
OLDNEW
« no previous file with comments | « base/message_loop_proxy.h ('k') | base/message_loop_proxy_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698