Index: experimental/PdfViewer/pdfparser/native/SkPdfNativeDoc.cpp |
diff --git a/experimental/PdfViewer/pdfparser/native/SkPdfNativeDoc.cpp b/experimental/PdfViewer/pdfparser/native/SkPdfNativeDoc.cpp |
index 1d8f510f7f0a7f34d6521cdb48d1b0d875051f15..d3fea715df0fee86910e02d59d35960511073ceb 100644 |
--- a/experimental/PdfViewer/pdfparser/native/SkPdfNativeDoc.cpp |
+++ b/experimental/PdfViewer/pdfparser/native/SkPdfNativeDoc.cpp |
@@ -126,11 +126,11 @@ void SkPdfNativeDoc::init(const void* bytes, size_t length) { |
bool storeCatalog = true; |
while (xrefByteOffset >= 0) { |
- const unsigned char* trailerStart = readCrossReferenceSection(fFileContent + xrefByteOffset, |
- xrefstartKeywordLine); |
+ const unsigned char* trailerStart = this->readCrossReferenceSection(fFileContent + xrefByteOffset, |
+ xrefstartKeywordLine); |
xrefByteOffset = -1; |
if (trailerStart < xrefstartKeywordLine) { |
- readTrailer(trailerStart, xrefstartKeywordLine, storeCatalog, &xrefByteOffset, false); |
+ this->readTrailer(trailerStart, xrefstartKeywordLine, storeCatalog, &xrefByteOffset, false); |
storeCatalog = false; |
} |
} |
@@ -303,7 +303,7 @@ const unsigned char* SkPdfNativeDoc::readCrossReferenceSection(const unsigned ch |
return current; |
} |
- addCrossSectionInfo(startId + i, generation, offset, *token.c_str() == 'f'); |
+ this->addCrossSectionInfo(startId + i, generation, offset, *token.c_str() == 'f'); |
} |
} |
SkPdfReport(kInfo_SkPdfIssueSeverity, kNoIssue_SkPdfIssue, |
@@ -363,7 +363,7 @@ const unsigned char* SkPdfNativeDoc::readTrailer(const unsigned char* trailerSta |
void SkPdfNativeDoc::addCrossSectionInfo(int id, int generation, int offset, bool isFreed) { |
// TODO(edisonn): security here, verify id |
while (fObjects.count() < id + 1) { |
- reset(fObjects.append()); |
+ this->reset(fObjects.append()); |
} |
fObjects[id].fOffset = offset; |