Skip to content

Commit

Permalink
Change a CHECK to DCHECK in PrintingContext.
Browse files Browse the repository at this point in the history
Change-Id: I754717a21029735218f9fdd64eb1c00a78340442
Reviewed-on: https://chromium-review.googlesource.com/784395
Reviewed-by: Wei Li <weili@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#518687}
  • Loading branch information
leizleiz authored and Commit Bot committed Nov 22, 2017
1 parent cda872a commit 9aeaf60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion printing/printing_context.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ PrintingContext::PrintingContext(Delegate* delegate)
: delegate_(delegate),
in_print_job_(false),
abort_printing_(false) {
CHECK(delegate_);
DCHECK(delegate_);
}

PrintingContext::~PrintingContext() {
Expand Down
2 changes: 1 addition & 1 deletion printing/printing_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class PRINTING_EXPORT PrintingContext {
PrintSettings settings_;

// Printing context delegate.
Delegate* delegate_;
Delegate* const delegate_;

// Is a print job being done.
volatile bool in_print_job_;
Expand Down

0 comments on commit 9aeaf60

Please sign in to comment.