diff options
author | vandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2010-10-01 23:26:55 +0000 |
---|---|---|
committer | vandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2010-10-01 23:26:55 +0000 |
commit | f66025d59ab4c8c4439fabf6ad89ddf35a19d1fd (patch) | |
tree | 7e576a6400df040d6a03012887615f40a7fd44a1 /include/pdf/SkPDFCatalog.h | |
parent | 8459d4e5e32608ec6da3f2b81731aaeb7b038843 (diff) |
Address senorblanco's comments on r600.
Don't inline constructors and destructors.
Include license in test file.
A few nits
Also, cleanup a couple compile warnings.
Review URL: http://codereview.appspot.com/2279043
git-svn-id: http://skia.googlecode.com/svn/trunk@601 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/pdf/SkPDFCatalog.h')
-rw-r--r-- | include/pdf/SkPDFCatalog.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/include/pdf/SkPDFCatalog.h b/include/pdf/SkPDFCatalog.h index fa159384de..932f1c895b 100644 --- a/include/pdf/SkPDFCatalog.h +++ b/include/pdf/SkPDFCatalog.h @@ -23,19 +23,15 @@ /** \class SkPDFCatalog - The PDF catalog object manages object numbers and when emitted to the - PDF stream, indexes all the objects in the file by offset. + The PDF catalog manages object numbers and file offsets. It is used + to create the PDF cross reference table. */ class SkPDFCatalog { public: /** Create a PDF catalog. */ - SkPDFCatalog() - : fNextObjNum(1), - fStartedAssigningObjNums(false), - fAssigningFirstPageObjNums(false) { - } - virtual ~SkPDFCatalog() {} + SkPDFCatalog(); + ~SkPDFCatalog(); /** Add the passed object to the catalog. * @param obj The object to add. |