summaryrefslogtreecommitdiffstats
path: root/chrome/browser/printing/printer_query.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/printing/printer_query.cc')
-rw-r--r--chrome/browser/printing/printer_query.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/printing/printer_query.cc b/chrome/browser/printing/printer_query.cc
index d05900e..6770e57 100644
--- a/chrome/browser/printing/printer_query.cc
+++ b/chrome/browser/printing/printer_query.cc
@@ -20,7 +20,7 @@ PrinterQuery::PrinterQuery()
is_print_dialog_box_shown_(false),
cookie_(PrintSettings::NewCookie()),
last_status_(PrintingContext::FAILED) {
- DCHECK_EQ(io_message_loop_->type(), base::MessageLoop::TYPE_IO);
+ DCHECK(base::MessageLoopForIO::IsCurrent());
}
PrinterQuery::~PrinterQuery() {