| Index: chrome/browser/printing/print_job.cc
|
| diff --git a/chrome/browser/printing/print_job.cc b/chrome/browser/printing/print_job.cc
|
| index b5e34cfda36523c167a288b3eda857e3d4ccb04e..3d63d3371cec9021d3d90a6573c87658fccdee7c 100644
|
| --- a/chrome/browser/printing/print_job.cc
|
| +++ b/chrome/browser/printing/print_job.cc
|
| @@ -197,12 +197,12 @@ void PrintJob::Cancel() {
|
| is_canceling_ = false;
|
| }
|
|
|
| -bool PrintJob::FlushJob(int timeout_ms) {
|
| +bool PrintJob::FlushJob(base::TimeDelta timeout) {
|
| // Make sure the object outlive this message loop.
|
| scoped_refptr<PrintJob> handle(this);
|
|
|
| MessageLoop::current()->PostDelayedTask(FROM_HERE,
|
| - base::Bind(&PrintJob::Quit, quit_factory_.GetWeakPtr()), timeout_ms);
|
| + base::Bind(&PrintJob::Quit, quit_factory_.GetWeakPtr()), timeout);
|
|
|
| MessageLoop::ScopedNestableTaskAllower allow(MessageLoop::current());
|
| MessageLoop::current()->Run();
|
|
|