| Index: chrome/browser/automation/testing_automation_provider.cc
|
| diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
|
| index 241a4b1b869090d71acdb5908dadb76e67abff35..c3c8f14ca071d1ba567d0134e4a03a75d0da7194 100644
|
| --- a/chrome/browser/automation/testing_automation_provider.cc
|
| +++ b/chrome/browser/automation/testing_automation_provider.cc
|
| @@ -562,8 +562,9 @@ void TestingAutomationProvider::DeleteCookie(const GURL& url,
|
| NavigationController* tab = tab_tracker_->GetResource(handle);
|
| BrowserThread::PostTask(
|
| BrowserThread::IO, FROM_HERE,
|
| - new DeleteCookieTask(url, cookie_name,
|
| - tab->profile()->GetRequestContext()));
|
| + new DeleteCookieTask(
|
| + url, cookie_name,
|
| + make_scoped_refptr(tab->profile()->GetRequestContext())));
|
| *success = true;
|
| }
|
| }
|
|
|