diff options
author | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-22 22:19:24 +0000 |
---|---|---|
committer | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-22 22:19:24 +0000 |
commit | 00ed48fe2d42c952a3d41c83ed26a130342521aa (patch) | |
tree | 80e7d1b3f210725306d505c21a989c963e902f0a /chrome_frame/metrics_service.cc | |
parent | 8c7697346f2632d3356e9d57b8f105e9cfa26747 (diff) | |
download | chromium_src-00ed48fe2d42c952a3d41c83ed26a130342521aa.zip chromium_src-00ed48fe2d42c952a3d41c83ed26a130342521aa.tar.gz chromium_src-00ed48fe2d42c952a3d41c83ed26a130342521aa.tar.bz2 |
Revert "Revert "Const-ify RefCountedThreadSafe::AddRef and Release.""
chrome_frame failed to compile last time. I needed to add a "mutable" to a
member variable in chrome_frame/metrics_service.cc.
Review URL: http://codereview.chromium.org/3971004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63574 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/metrics_service.cc')
-rw-r--r-- | chrome_frame/metrics_service.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome_frame/metrics_service.cc b/chrome_frame/metrics_service.cc index 659cd36..cb30b94 100644 --- a/chrome_frame/metrics_service.cc +++ b/chrome_frame/metrics_service.cc @@ -206,7 +206,7 @@ class ChromeFrameUploadRequestContextGetter : public URLRequestContextGetter { return context_; } - virtual scoped_refptr<base::MessageLoopProxy> GetIOMessageLoopProxy() { + virtual scoped_refptr<base::MessageLoopProxy> GetIOMessageLoopProxy() const { if (!io_message_loop_proxy_.get()) { io_message_loop_proxy_ = base::MessageLoopProxy::CreateForCurrentThread(); } @@ -219,7 +219,7 @@ class ChromeFrameUploadRequestContextGetter : public URLRequestContextGetter { } scoped_refptr<URLRequestContext> context_; - scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_; + mutable scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_; MessageLoop* io_loop_; }; |