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

Unified Diff: printing/printing_context_win.cc

Issue 14113054: printing: Use base::MessageLoop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 7 years, 7 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
« no previous file with comments | « printing/printed_document.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/printing_context_win.cc
diff --git a/printing/printing_context_win.cc b/printing/printing_context_win.cc
index ddfae1aa2b8c371b6b2e9c900f448f94081687e1..d0205ea4a36ae1e6af330b3da46ff4d5763e3d44 100644
--- a/printing/printing_context_win.cc
+++ b/printing/printing_context_win.cc
@@ -478,8 +478,8 @@ PrintingContext::Result PrintingContextWin::NewDocument(
}
// No message loop running in unit tests.
- DCHECK(!MessageLoop::current() ? true :
- !MessageLoop::current()->NestableTasksAllowed());
+ DCHECK(!base::MessageLoop::current() ||
+ !base::MessageLoop::current()->NestableTasksAllowed());
// Begin a print job by calling the StartDoc function.
// NOTE: StartDoc() starts a message loop. That causes a lot of problems with
« no previous file with comments | « printing/printed_document.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698