Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(882)

Unified Diff: chrome/browser/renderer_host/pepper/monitor_finder_mac.mm

Issue 1100293004: [chrome/browser/renderer_host] favor DCHECK_CURRENTLY_ON for better logs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing changes Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/renderer_host/pepper/monitor_finder_mac.mm
diff --git a/chrome/browser/renderer_host/pepper/monitor_finder_mac.mm b/chrome/browser/renderer_host/pepper/monitor_finder_mac.mm
index 23427165c5aa8e5ed31e47e51782e5cabba973a9..31f6cfd41060fa300ad3ff54ee71f0592094e430 100644
--- a/chrome/browser/renderer_host/pepper/monitor_finder_mac.mm
+++ b/chrome/browser/renderer_host/pepper/monitor_finder_mac.mm
@@ -42,7 +42,7 @@ bool MonitorFinder::IsMonitorBuiltIn(int64_t display_id) {
}
void MonitorFinder::FetchMonitorFromWidget() {
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
content::RenderFrameHost* rfh =
content::RenderFrameHost::FromID(process_id_, render_frame_id_);
if (!rfh)

Powered by Google App Engine
This is Rietveld 408576698