Index: chrome/browser/io_thread.cc |
diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc |
index 5273d99fc8d9c794ec249b951a0163b6d775dd11..48fff7ce1b98f19df083aa38e83cccc8569e449d 100644 |
--- a/chrome/browser/io_thread.cc |
+++ b/chrome/browser/io_thread.cc |
@@ -434,13 +434,13 @@ IOThread::IOThread( |
chrome_browser_net::SetGlobalSTHDistributor( |
std::unique_ptr<net::ct::STHDistributor>(new net::ct::STHDistributor())); |
- BrowserThread::SetDelegate(BrowserThread::IO, this); |
+ BrowserThread::SetIOThreadDelegate(this); |
} |
IOThread::~IOThread() { |
// This isn't needed for production code, but in tests, IOThread may |
// be multiply constructed. |
- BrowserThread::SetDelegate(BrowserThread::IO, NULL); |
+ BrowserThread::SetIOThreadDelegate(nullptr); |
pref_proxy_config_tracker_->DetachFromPrefService(); |
DCHECK(!globals_); |