Index: chrome/browser/extensions/api/system_info/system_info_api.cc |
diff --git a/chrome/browser/extensions/api/system_info/system_info_api.cc b/chrome/browser/extensions/api/system_info/system_info_api.cc |
index 099cfd5228b416264fa770b8dec204b7f3e2227e..a73a368eb56e64e53edaf15b95907695de94fab2 100644 |
--- a/chrome/browser/extensions/api/system_info/system_info_api.cc |
+++ b/chrome/browser/extensions/api/system_info/system_info_api.cc |
@@ -114,7 +114,7 @@ SystemInfoEventRouter::~SystemInfoEventRouter() { |
} |
void SystemInfoEventRouter::AddEventListener(const std::string& event_name) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
watching_event_set_.insert(event_name); |
if (watching_event_set_.count(event_name) > 1) |
@@ -136,7 +136,7 @@ void SystemInfoEventRouter::AddEventListener(const std::string& event_name) { |
} |
void SystemInfoEventRouter::RemoveEventListener(const std::string& event_name) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
std::multiset<std::string>::iterator it = |
watching_event_set_.find(event_name); |