diff options
author | xhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-06 22:43:57 +0000 |
---|---|---|
committer | xhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-06 22:43:57 +0000 |
commit | f58ef2bacd22b9d30e61df73ef6a05c61f2c1a6f (patch) | |
tree | 56c11c5ea020d56908a1b0491289eacf0624e65d /printing/printing_context_win.cc | |
parent | 9ae005b89f8e5a47a610bc518bfa13a609ef9dff (diff) | |
download | chromium_src-f58ef2bacd22b9d30e61df73ef6a05c61f2c1a6f.zip chromium_src-f58ef2bacd22b9d30e61df73ef6a05c61f2c1a6f.tar.gz chromium_src-f58ef2bacd22b9d30e61df73ef6a05c61f2c1a6f.tar.bz2 |
printing: Use base::MessageLoop.
BUG=236029
R=abodenha@chromium.org
Review URL: https://chromiumcodereview.appspot.com/14113054
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198551 0039d316-1c4b-4281-b951-d872f2087c98
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 |