pdf viewer: remove const for int scalar types

Review URL: https://codereview.chromium.org/18103009

git-svn-id: http://skia.googlecode.com/svn/trunk@9881 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
edisonn@google.com 2013-07-02 23:17:27 +00:00
parent 2e498f105a
commit c631b792c4

View File

@ -639,8 +639,8 @@ def generateCode():
manager.addClass('Reference').check('podofoObj->GetDataType() == PoDoFo::ePdfDataType_Reference')
manager.addClass('Array').check('podofoObj->GetDataType() == PoDoFo::ePdfDataType_Array')\
.carbonCopyPublicPodofo('const int size() const;')\
.carbonCopyPublicPodofoCpp('const int SkPdfArray::size() const {return podofo()->GetArray().GetSize();}')\
.carbonCopyPublicPodofo('int size() const;')\
.carbonCopyPublicPodofoCpp('int SkPdfArray::size() const {return podofo()->GetArray().GetSize();}')\
.carbonCopyPublicPodofo('SkPdfObject* operator[](int i) const;')\
.carbonCopyPublicPodofoCpp('SkPdfObject* SkPdfArray::operator[](int i) const { SkPdfObject* ret = NULL; fParsedDoc->mapper()->mapObject(&podofo()->GetArray()[i], &ret); return ret; }')