Index: printing/printed_document.h |
=================================================================== |
--- printing/printed_document.h (revision 30973) |
+++ printing/printed_document.h (working copy) |
@@ -39,7 +39,6 @@ |
PrintedDocument(const PrintSettings& settings, |
PrintedPagesSource* source, |
int cookie); |
- ~PrintedDocument(); |
// Sets a page's data. 0-based. Takes metafile ownership. |
// Note: locks for a short amount of time. |
@@ -106,6 +105,10 @@ |
static const std::wstring& debug_dump_path(); |
private: |
+ friend class base::RefCountedThreadSafe<PrintedDocument>; |
+ |
+ ~PrintedDocument(); |
+ |
// Array of data for each print previewed page. |
typedef std::map<int, scoped_refptr<PrintedPage> > PrintedPages; |