Index: chrome/browser/notifications/desktop_notification_service_unittest.cc |
diff --git a/chrome/browser/notifications/desktop_notification_service_unittest.cc b/chrome/browser/notifications/desktop_notification_service_unittest.cc |
index 9f0067ce832c6dd7a31d048d05a151fbd040c3d7..3c1c8ca88b0b17c77f76726c4572a417be1cd9ce 100644 |
--- a/chrome/browser/notifications/desktop_notification_service_unittest.cc |
+++ b/chrome/browser/notifications/desktop_notification_service_unittest.cc |
@@ -42,7 +42,7 @@ class ThreadProxy : public base::RefCountedThreadSafe<ThreadProxy> { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, |
NewRunnableMethod(this, &ThreadProxy::CacheHasPermissionIO, |
- cache, url)); |
+ make_scoped_refptr(cache), url)); |
io_event_.Signal(); |
ui_event_.Wait(); // Wait for IO thread to be done. |
BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, |