summaryrefslogtreecommitdiffstats
path: root/base/message_loop_proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/message_loop_proxy.h')
-rw-r--r--base/message_loop_proxy.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/message_loop_proxy.h b/base/message_loop_proxy.h
index 5d6708e..4d38155 100644
--- a/base/message_loop_proxy.h
+++ b/base/message_loop_proxy.h
@@ -64,11 +64,11 @@ class MessageLoopProxy
// Called when the proxy is about to be deleted. Subclasses can override this
// to provide deletion on specific threads.
- virtual void OnDestruct();
+ virtual void OnDestruct() const;
};
struct MessageLoopProxyTraits {
- static void Destruct(MessageLoopProxy* proxy) {
+ static void Destruct(const MessageLoopProxy* proxy) {
proxy->OnDestruct();
}
};