| Index: chrome/browser/extensions/activity_log/activity_log.cc
|
| diff --git a/chrome/browser/extensions/activity_log/activity_log.cc b/chrome/browser/extensions/activity_log/activity_log.cc
|
| index d959da735105def0c8b3d150d8e20ea6540f28c2..c148ed2f5936b0a941bbe71404532e7b2fff421e 100644
|
| --- a/chrome/browser/extensions/activity_log/activity_log.cc
|
| +++ b/chrome/browser/extensions/activity_log/activity_log.cc
|
| @@ -617,7 +617,7 @@ void ActivityLog::OnScriptsExecuted(
|
| void ActivityLog::OnApiEventDispatched(const std::string& extension_id,
|
| const std::string& event_name,
|
| scoped_ptr<base::ListValue> event_args) {
|
| - DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| + DCHECK_CURRENTLY_ON(BrowserThread::UI);
|
| scoped_refptr<Action> action = new Action(extension_id,
|
| base::Time::Now(),
|
| Action::ACTION_API_EVENT,
|
| @@ -629,7 +629,7 @@ void ActivityLog::OnApiEventDispatched(const std::string& extension_id,
|
| void ActivityLog::OnApiFunctionCalled(const std::string& extension_id,
|
| const std::string& api_name,
|
| scoped_ptr<base::ListValue> args) {
|
| - DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| + DCHECK_CURRENTLY_ON(BrowserThread::UI);
|
| scoped_refptr<Action> action = new Action(extension_id,
|
| base::Time::Now(),
|
| Action::ACTION_API_CALL,
|
|
|