Index: chrome/browser/media/desktop_media_list_ash.cc |
diff --git a/chrome/browser/media/desktop_media_list_ash.cc b/chrome/browser/media/desktop_media_list_ash.cc |
index d24ec21b2b1c493942bb5472bfe57dacb2610b98..be378205d34e1b0e4c6fa11129e35e6e130a21d2 100644 |
--- a/chrome/browser/media/desktop_media_list_ash.cc |
+++ b/chrome/browser/media/desktop_media_list_ash.cc |
@@ -149,7 +149,7 @@ void DesktopMediaListAsh::EnumerateWindowsForRoot( |
std::vector<DesktopMediaListAsh::SourceDescription>* sources, |
aura::Window* root_window, |
int container_id) { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
aura::Window* container = ash::Shell::GetContainer(root_window, container_id); |
if (!container) |
@@ -171,7 +171,7 @@ void DesktopMediaListAsh::EnumerateWindowsForRoot( |
void DesktopMediaListAsh::EnumerateSources( |
std::vector<DesktopMediaListAsh::SourceDescription>* sources) { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
aura::Window::Windows root_windows = ash::Shell::GetAllRootWindows(); |