Index: chrome/browser/chromeos/login/screenshot_testing/screenshot_tester.cc |
diff --git a/chrome/browser/chromeos/login/screenshot_testing/screenshot_tester.cc b/chrome/browser/chromeos/login/screenshot_testing/screenshot_tester.cc |
index df9427ece832e9fb73f9b42bbddc0b1396f71932..0f7c59151af14366ee51714d8951e6fb4acaff92 100644 |
--- a/chrome/browser/chromeos/login/screenshot_testing/screenshot_tester.cc |
+++ b/chrome/browser/chromeos/login/screenshot_testing/screenshot_tester.cc |
@@ -203,7 +203,7 @@ void ScreenshotTester::ReturnScreenshot(const PNGFile& screenshot, |
} |
ScreenshotTester::PNGFile ScreenshotTester::TakeScreenshot() { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
aura::Window* primary_window = ash::Shell::GetPrimaryRootWindow(); |
gfx::Rect rect = primary_window->bounds(); |
PNGFile screenshot = new base::RefCountedBytes; |