diff options
author | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-20 23:14:23 +0000 |
---|---|---|
committer | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-20 23:14:23 +0000 |
commit | f8f8250237f535750e0d8269d2762f52db090e45 (patch) | |
tree | 1cdf3da8041969b9b0ac8c045ca2bf458256ca66 /chrome/browser/browser_about_handler.cc | |
parent | c1dc9f130ed8792c3e821f486d3c5e1ed4e567f3 (diff) | |
download | chromium_src-f8f8250237f535750e0d8269d2762f52db090e45.zip chromium_src-f8f8250237f535750e0d8269d2762f52db090e45.tar.gz chromium_src-f8f8250237f535750e0d8269d2762f52db090e45.tar.bz2 |
Forces T*s to scoped_refptr<T> when PostTask()ing to a function expecting scoped_refptr<T>
Review URL: http://codereview.chromium.org/418007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32706 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_about_handler.cc')
-rw-r--r-- | chrome/browser/browser_about_handler.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/browser_about_handler.cc b/chrome/browser/browser_about_handler.cc index 44fab78..79abe28 100644 --- a/chrome/browser/browser_about_handler.cc +++ b/chrome/browser/browser_about_handler.cc @@ -598,7 +598,8 @@ AboutSource::AboutSource() ChromeThread::IO, FROM_HERE, NewRunnableMethod( Singleton<ChromeURLDataManager>::get(), - &ChromeURLDataManager::AddDataSource, this)); + &ChromeURLDataManager::AddDataSource, + make_scoped_refptr(this))); } AboutSource::~AboutSource() { |