| Index: chrome/browser/browser_signin.cc
|
| ===================================================================
|
| --- chrome/browser/browser_signin.cc (revision 74293)
|
| +++ chrome/browser/browser_signin.cc (working copy)
|
| @@ -215,11 +215,12 @@
|
| : profile_(profile),
|
| delegate_(NULL),
|
| html_dialog_ui_delegate_(NULL) {
|
| - // profile is NULL during testing.
|
| - if (profile) {
|
| - BrowserSigninResourcesSource* source = new BrowserSigninResourcesSource();
|
| - profile->GetChromeURLDataManager()->AddDataSource(source);
|
| - }
|
| + BrowserSigninResourcesSource* source = new BrowserSigninResourcesSource();
|
| + BrowserThread::PostTask(
|
| + BrowserThread::IO, FROM_HERE,
|
| + NewRunnableMethod(ChromeURLDataManager::GetInstance(),
|
| + &ChromeURLDataManager::AddDataSource,
|
| + make_scoped_refptr(source)));
|
| }
|
|
|
| BrowserSignin::~BrowserSignin() {
|
|
|
| Property changes on: chrome\browser\browser_signin.cc
|
| ___________________________________________________________________
|
| Deleted: svn:mergeinfo
|
|
|
|
|