diff options
Diffstat (limited to 'printing/printing_context_win.cc')
-rw-r--r-- | printing/printing_context_win.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/printing/printing_context_win.cc b/printing/printing_context_win.cc index ddfae1a..d0205ea 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 |