diff options
Diffstat (limited to 'chrome/browser/printing/print_job_worker_owner.h')
-rw-r--r-- | chrome/browser/printing/print_job_worker_owner.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/printing/print_job_worker_owner.h b/chrome/browser/printing/print_job_worker_owner.h index e1ba719..510f15f 100644 --- a/chrome/browser/printing/print_job_worker_owner.h +++ b/chrome/browser/printing/print_job_worker_owner.h @@ -18,8 +18,6 @@ class PrintSettings; class PrintJobWorkerOwner : public base::RefCountedThreadSafe<PrintJobWorkerOwner> { public: - virtual ~PrintJobWorkerOwner() { - } // Finishes the initialization began by PrintJobWorker::Init(). Creates a // new PrintedDocument if necessary. Solely meant to be called by @@ -38,6 +36,11 @@ class PrintJobWorkerOwner : // Cookie uniquely identifying the PrintedDocument and/or loaded settings. virtual int cookie() const = 0; + + protected: + friend class base::RefCountedThreadSafe<PrintJobWorkerOwner>; + + virtual ~PrintJobWorkerOwner() {} }; } // namespace printing |