Index: chrome/browser/extensions/api/streams_private/streams_private_api.cc |
diff --git a/chrome/browser/extensions/api/streams_private/streams_private_api.cc b/chrome/browser/extensions/api/streams_private/streams_private_api.cc |
index 5929da0119aec318c77091482e0c40fc384d0807..922a9783f930966f90ed9de3f1568df9590a1085 100644 |
--- a/chrome/browser/extensions/api/streams_private/streams_private_api.cc |
+++ b/chrome/browser/extensions/api/streams_private/streams_private_api.cc |
@@ -152,7 +152,7 @@ StreamsPrivateAbortFunction::StreamsPrivateAbortFunction() { |
} |
ExtensionFunction::ResponseAction StreamsPrivateAbortFunction::Run() { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &stream_url_)); |
StreamsPrivateAPI::Get(browser_context())->AbortStream( |
extension_id(), GURL(stream_url_), base::Bind( |
@@ -161,7 +161,7 @@ ExtensionFunction::ResponseAction StreamsPrivateAbortFunction::Run() { |
} |
void StreamsPrivateAbortFunction::OnClose() { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
Respond(NoArguments()); |
} |